A rolling code is an authentication value that changes each time a remote control is used. The receiver checks that the value is valid and has not already been accepted, often allowing a limited range of future values to account for timing or synchronization differences. This helps prevent a captured radio signal from working again as a simple replay.
Rolling codes are used in systems such as vehicle key fobs and garage-door remotes. They raise the difficulty of cloning a command, but do not guarantee security: weak implementations, poor synchronization handling, or flaws in how codes are generated and validated can still create opportunities for attack. Defenders should use well-reviewed devices, follow secure setup and update practices, and replace systems that rely on fixed, reusable signals.


