UN R156 is the United Nations vehicle regulation on software updates, developed by the UNECE working party known as WP.29, which requires vehicle manufacturers to operate a certified Software Update Management System (SUMS) and to deliver updates to vehicles safely and traceably. For vehicle software, it is the main legal framework that turns updates, including over-the-air updates, from an engineering convenience into a regulated, auditable process.
Often called the software update regulation, UN R156 was adopted in 2020 together with its companion UN R155 on cybersecurity. It is especially relevant for electric vehicles, whose battery management, charging behavior and driver assistance functions are frequently changed through software after the car has been sold.
What UN R156 requires from manufacturers
UN R156 places obligations at two levels: the organization and the individual vehicle type. At the organizational level, the manufacturer must demonstrate a Software Update Management System, a set of processes covering how updates are planned, assessed, approved, documented and delivered. At the vehicle type level, the manufacturer must show that each vehicle type applies those processes in practice.
An approval authority or technical service audits the SUMS and issues a certificate of compliance, which remains valid for no longer than three years before renewal. Only with a valid certificate can the manufacturer obtain type approval for vehicle types under the regulation.
| Area | Requirement | Purpose |
|---|---|---|
| Process management | Documented SUMS covering the full update lifecycle | Consistent and repeatable update handling |
| Configuration records | Record of hardware and software versions per vehicle type | Traceability of every installed version |
| Impact assessment | Check whether an update affects type-approved systems | Protection of the approval status |
| Update security | Protect authenticity and integrity of update packages | Prevention of malicious or corrupted software |
| User information | Inform users about purpose and changes of updates | Transparency and informed consent |
The RXSWIN and type-approval traceability
A central concept of UN R156 is the RXSWIN, the Regulation X Software Identification Number. It is a unique identifier that represents the software relevant to a specific type-approved system, such as braking, steering or lane keeping. When an update changes software that matters for a type-approved function, the RXSWIN changes as well.
The RXSWIN gives authorities and workshops a reliable link between software and approval. It must be readable from the vehicle in a standardized way, for example through the diagnostic interface, so that an inspector can verify that a car still runs an approved software configuration.
| Update type | Effect on RXSWIN | Approval consequence |
|---|---|---|
| Infotainment change only | Usually unchanged | No impact on type-approved systems |
| Change within approved parameters | Updated | Documented under existing approval |
| Change to approved function behavior | Updated | Authority must be informed or approval extended |
| New regulated function | New identifier | New or extended type approval required |
Safety rules for performing an update
Beyond paperwork, UN R156 sets technical requirements for the update itself, especially for updates delivered over the air. The vehicle must not be put at risk while software is being installed, and the driver must not be able to start an unsafe driving situation during installation.
- Sufficient energy must be available to complete the update, which for electric vehicles means checking the high-voltage and 12-volt batteries.
- Safe vehicle state is required, so updates that affect driving cannot run while the car is moving.
- Failure recovery must restore a working previous version if installation fails.
- User notification must explain the update and, where needed, its expected duration and any functions unavailable meanwhile.
These rules explain why many cars ask owners to park, connect a charger or confirm a time window before installing a major OTA update. The design typically relies on dual memory banks or A/B partitions, so that the old software remains available until the new version has been verified.
Relationship to UN R155 and other standards
UN R156 and UN R155 are closely linked but address different risks. UN R155 deals with cybersecurity management, while UN R156 governs the update process and its effect on approvals. A secure update channel is required by both, so manufacturers usually build one integrated management system covering both regulations.
| Framework | Type | Main focus |
|---|---|---|
| UN R156 | Binding UN regulation | Software update management and approval traceability |
| UN R155 | Binding UN regulation | Cybersecurity management system and vehicle security |
| ISO 24089 | International standard | Engineering practices for software updates |
| ISO/SAE 21434 | International standard | Cybersecurity engineering across the lifecycle |
The standards are voluntary methods, whereas the regulations are legal requirements in markets that apply them. In practice, ISO 24089 is widely used as evidence that a SUMS meets the regulation.
Where UN R156 applies and common misunderstandings
UN R156 is binding in 1958 Agreement contracting parties that apply it, such as Japan, South Korea, the United Kingdom and the European Union. EU type approval has demanded compliance for newly approved types since July 2022, and every new registration since July 2024 must meet it. The United States is not a contracting party, so the regulation is not binding there, although global manufacturers often apply one process worldwide.
A common misunderstanding is that UN R156 concerns only over-the-air updates. In fact, it covers workshop updates as well, because a dealer flashing a control unit can also change a type-approved function. Another misconception is that it limits how often updates may be released; it regulates the process, not the frequency.
Put simply
Modern cars receive software updates much like phones do. UN R156 is a set of rules that makes carmakers handle those updates carefully. They must keep track of which software each car runs, check that an update does not break approved safety features, and make sure the update installs safely.
The main idea is simple: a car must remain as safe and legal after an update as it was on the day it was approved.
In practice
An electric vehicle manufacturer selling in Europe prepares an over-the-air update that improves battery preconditioning before fast charging and refines the lane keeping function. Its SUMS process first classifies the two changes: the charging change does not affect a type-approved system, while the lane keeping change does, so the related RXSWIN is updated and the approval authority is informed.
Before release, the update is tested for recovery from interrupted installation. Owners receive a notice describing the changes and asking them to park with at least 30 percent charge, and installation runs overnight in about 25 minutes. The outcome is a compliant fleet-wide update with a complete audit trail for every vehicle.