I need to choose a real-time operating system (… | Parse
I need to choose a real-time operating system (RTOS) for a new IoT device. What are my best options?
Data as of Sep 26, 2026 · Based on 348 AI responses from ChatGPT Search and Google AI Mode · See how Parse measures this
Selecting an RTOS depends on your device requirements. FreeRTOS is the most common choice for simple, low-power microcontrollers due to its massive ecosystem. For complex connected devices needing modern networking and security, Zephyr is a top contender. For specialized needs like high-performance industrial or safety-critical applications, vendors like Azure RTOS or QNX may be more appropriate.
Ideal for small, resource-constrained devices where ease of use, cloud integration, and a large community are prioritized. Its lightweight footprint makes it the industry standard for basic IoT sensors.
Best for complex, modern IoT devices that require advanced networking stacks and security. It is vendor-neutral, modular, and highly scalable, making it superior for connected, professional-grade development.
The 7 Best Real-Time Operating Systems for Embedded ...https://promwad.com/news/best-rtos-2025
6%
How To Choose The Best RTOS for IoT Deviceshttps://www.nabto.com/how-to-choose-best-rtos-for-iot/
4%
Selecting an RTOS, Which Should I Use? | Dojo Fivehttps://dojofive.com/blog/selecting-an-rtos-which-should-i-use/
4%
5 Key Points to Consider When Choosing an RTOS (Real-Time ...https://medium.com/@programmerbose/5-key-points-to-consider-when-choosing-an-rtos-real-time-operating-system-89c847150683
3%
Top 7 Real-Time Operating System Examples Used in Embedded Deviceshttps://cranesvarsity.com/top-7-real-time-operating-system-examples-used-in-embedded-devices/
3%
15 of the Best RTOSs To Get in 2024 - Incredibuildhttps://www.incredibuild.com/blog/15-of-the-best-rtoss-to-get-in-2024
2%
Which operating systems are best for IoT embedded development?https://www.inspiro.nl/en/which-operating-systems-are-best-for-iot-embedded-development/
2%
IoT Operating Systems (2026 Guide)https://iotbyhvm.ooo/iot-operating-systems-2026-guide/
2%
Select the right OS for IoT devices | TechTargethttps://www.techtarget.com/iotagenda/tip/Select-the-right-OS-for-IoT-devices
2%
Best RTOS 2026: Updated Ranking Based on Safety ...https://promwad.com/news/best-rtos-2026
2%
Question: I need to choose a real-time operating system (RTOS) for a new IoT device. What are my best options?
For a new IoT device, the strongest RTOS shortlist today is FreeRTOS, Zephyr, Eclipse ThreadX, and SEGGER embOS. The right choice depends heavily on your MCU, connectivity requirements, safety requirements, licensing model, and how much infrastructure you want the RTOS to provide.
Open source, highly modular, networking/wireless stacks, excellent multi-vendor support
More complex build/configuration ecosystem and steeper learning curve
Eclipse ThreadX
Commercial embedded products
Mature kernel, deterministic behavior, extensive embedded history
Ecosystem/licensing considerations; less of an "open community OS" than Zephyr
SEGGER embOS
Performance-sensitive or professionally supported products
Small footprint, deterministic scheduling, mature tooling, safety variants
Commercial licensing
NuttX
Devices wanting a more POSIX-like environment
Rich OS functionality while remaining embedded-focused
Can be heavier/more complex than a minimal MCU RTOS
My practical decision tree
Choose Zephyr if you're starting a new connected product and want to avoid locking yourself tightly to one silicon vendor. Zephyr is Linux Foundation-hosted, open source, supports numerous architectures, and includes connectivity such as Bluetooth LE, Wi-Fi, 802.15.4, Thread, IPv4/IPv6, Ethernet, USB and CAN. Its current ecosystem advertises support for 1,000+ boards.
Choose FreeRTOS if you want the most conventional, lightweight MCU RTOS experience and particularly if your cloud/backend architecture is already centered on AWS. It's a very sensible default for a relatively straightforward sensor, actuator, gateway, or connected MCU.
Choose ThreadX if you're building a commercial embedded product where a mature, established RTOS and conventional embedded development model are more important than an open-source ecosystem.
Choose embOS if deterministic performance, very small resource consumption, professional vendor support, or functional-safety options are particularly important. SEGGER offers both embOS-Classic and the newer cycle-resolution, tickless embOS-Ultra, as well as safety-oriented variants.
The factors I'd evaluate before committing
MCU/SoC support — Start with your exact chip. A theoretically excellent RTOS is a poor choice if its BSP, drivers, wireless stack, bootloader, or debugging support for your silicon is immature.
Connectivity — Bluetooth LE, Wi-Fi, Thread, Matter, cellular, Ethernet, MQTT, TLS, USB, etc. can be more important than the kernel itself.
RAM/flash budget — Especially important for battery-powered Cortex-M-class devices.
Power management — Deep sleep, tickless operation, wake-up latency, and driver support matter enormously for battery products.
Security/update architecture — Secure boot, signed OTA updates, rollback, key storage, MPU/TrustZone support, and vulnerability response should be evaluated as part of the platform rather than just the scheduler.
Safety/regulatory requirements — If you're targeting automotive, medical, industrial safety, etc., determine the required certification level before choosing the RTOS.
Long-term maintenance — An IoT device may need firmware updates for 5–15 years, so ecosystem health and vendor/community support matter.
Developer productivity — Debugging and tracing can save more engineering time than small differences in scheduler performance. For example, SEGGER SystemView supports FreeRTOS, Zephyr, ThreadX, embOS and several other RTOSes.
I can narrow this to a 2–3 RTOS shortlist and compare their memory footprint, networking, OTA/security, tooling, licensing, and development implications for your particular device.
Choose ThreadX if you're building a commercial embedded product where a mature, established RTOS and conventional embedded development model are more important than an open-source ecosystem.
Choosing a Real-Time Operating System (RTOS) for an IoT device depends heavily on your hardware constraints, connectivity needs, and whether you require commercial safety certifications.
The top options on the market balance robust community support, active maintenance, and specialized toolchains:
FreeRTOS : The undisputed de facto standard for microcontrollers. It is lightweight, extremely well-documented, and backed by a massive ecosystem. It is integrated into many vendor SDKs (like Espressif's ESP-IDF) and offers seamless cloud connectivity libraries via AWS integrations.
Best for: General-purpose IoT, resource-constrained microcontrollers, and rapid prototyping with standard chips.
Zephyr : An open-source, scalable RTOS backed by the Linux Foundation. Zephyr stands out for its unified driver model, device tree configuration (similar to Linux), and robust native networking and security stacks built right into the OS.
Best for: Modern connected, modular, and multi-core IoT devices requiring complex communication protocols (Bluetooth LE, Wi-Fi, 802.15.4).
Eclipse ThreadX : Formerly Microsoft Azure RTOS, now under the Eclipse Foundation [1.1.X]. It features a high-performance, deterministic picokernel architecture [1.1.X] and stands out as a top option with pre-certified safety credentials (automotive, medical, and industrial safety standards) [1.1.X].
Best for: Commercial-grade, mission-critical, and safety-certified devices (medical tech, automotive, and appliances) [1.1.X].
Apache NuttX : A mature, standards-compliant RTOS that emulates a POSIX/Linux environment on deeply embedded microcontrollers [1.1.X].
Best for: Developers who want standard POSIX API compatibility and Linux-like application behavior without the overhead of a full application processor.
To help narrow down the best fit, tell me a bit more about your project:
What microcontroller or hardware architecture (ARM Cortex-M, RISC-V, ESP32, etc.) are you planning to use?
Does your device require safety/medical/automotive certifications , or is it a general commercial product?
What connectivity stacks (Wi-Fi, Cellular, BLE, LoRaWAN) are essential?
Choosing the right real-time operating system (RTOS) for an IoT device depends heavily on your hardware constraints (RAM/Flash), connectivity needs, certification requirements (safety/security), and your team's familiarity with the ecosystem.
The top RTOS options for IoT development cover a wide range of use cases:
FreeRTOS : The industry default for resource-constrained microcontrollers. It is open-source, highly portable, features a tiny memory footprint, and includes robust, pre-integrated libraries for cloud connectivity via AWS IoT Core . Best for low-cost, battery-powered, or high-volume connected MCUs.
Zephyr Project : A rapidly growing, scalable open-source RTOS backed by the Linux Foundation. It features native, highly modular networking stacks (IPv4/IPv6, BLE, Wi-Fi), excellent security features, and built-in device tree support. Best for modern connected IoT devices with moderate-to-high complexity.
Apache NuttX : A mature real-time embedded operating system that strives for POSIX/ANSI standards compliance. It allows developers to run familiar Linux-style applications and multi-threaded software on microcontrollers where a full Linux kernel won't fit. Best for developers wanting a POSIX environment on lower-end chips.
ThreadX (Azure RTOS) : Now integrated into the Eclipse Foundation (Eclipse ThreadX), this is a deeply reliable, high-performance, and safety-certified commercial-grade RTOS. It shines if your hardware requires strict industrial, medical, or automotive certifications and seamless integration with the Microsoft Azure IoT Suite.
Micrium embOS / SEGGER : A top-tier commercial choice renowned for its extreme reliability, tiny memory footprint, and exceptional documentation. Best for deeply embedded medical devices, portable instrumentation, or industrial modules where commercial support is paramount.
Developer Perspectives
FreeRTOS is a no-brainer if you are starting small or plan to hook straight into AWS. The community and snippet availability make debugging hardware driver issues way faster.
Zephyr has completely changed how I look at microcontrollers. The driver model and built-in networking stacks save weeks of boilerplate work compared to piecing things together manually.
To help narrow down the best fit, could you tell me:
What microcontroller or hardware architecture (e.g., ARM Cortex-M, ESP32, RISC-V) are you targeting?
Does your device need strict safety/medical/automotive certifications?
Are you planning to connect to a specific cloud provider (AWS, Azure, private MQTT)?
For a new IoT device, the main RTOS choices I’d put on the shortlist are Zephyr, FreeRTOS, and Eclipse ThreadX. The right choice depends heavily on your MCU, connectivity requirements, safety/security requirements, and how much OS functionality you want built in.
Ecosystem/architecture differs from Zephyr/FreeRTOS
RTEMS
Specialized embedded/real-time systems
Strong real-time capabilities and mature architecture
Less focused on mainstream IoT MCU development
RIOT
Research/open-source IoT
Lightweight, networking-oriented, open source
Smaller commercial ecosystem
1. Zephyr
Zephyr Project is particularly interesting if you're building a connected IoT product rather than simply needing a scheduler.
It provides a small-footprint kernel plus networking, device drivers, filesystems, power management and other subsystems. It supports ARM, RISC-V, x86, Xtensa, ARC and several other architectures.
Its Bluetooth LE support is substantial, including Bluetooth 5.3 functionality, and the project maintains a large supported-board catalog.
Another advantage is licensing: Zephyr itself is Apache 2.0, with some separately licensed imported components.
I'd investigate Zephyr first if: your device has BLE/Wi-Fi/Thread/Matter-type connectivity, you want an integrated embedded platform, or you expect the hardware family to change over the product's lifetime.
2. FreeRTOS
FreeRTOS is the other major candidate.
The kernel is deliberately small and provides the fundamental real-time scheduling, synchronization, timing and inter-task communication facilities; networking and other capabilities can be added as components.
Current FreeRTOS materials report support for 40+ processor architectures, along with SMP, IPv6-capable TCP networking and cloud integrations. The project is distributed under the MIT open-source license.
I'd investigate FreeRTOS first if: you're using a relatively constrained MCU, your silicon vendor already has a good FreeRTOS SDK/BSP, or your team wants a relatively minimal RTOS and to assemble the rest of the software stack explicitly.
3. Eclipse ThreadX
Eclipse ThreadX is worth considering when you're looking for a mature commercial-embedded ecosystem, particularly if your organization already has ThreadX experience or existing middleware built around it.
It is also useful to evaluate against your MCU vendor's SDK: the quality of the vendor's BSP, drivers, networking stack, debugging tools, and examples can matter more than differences between RTOS kernels themselves.
How I'd narrow it down
For a new device, I'd make these questions the decision points:
Which MCU/SoC are you using?
Start with the RTOS options that have first-class support for that exact chip and its peripherals.
What connectivity do you need?
BLE-only, Wi-Fi, Ethernet, Thread, Matter, cellular, proprietary 802.15.4, etc. can dramatically change the comparison.
How constrained is the device?
If you're working with something like a very small Cortex-M0/M0+ with tens of KB of RAM, a minimal FreeRTOS-style architecture may be attractive. With more RAM/flash, Zephyr's integrated functionality becomes more practical.
Do you need OTA updates, secure boot, device management and networking?
If yes, compare the whole software stack, not just the RTOS kernel.
What are your certification requirements?
If this is medical, automotive, industrial safety, avionics, etc., certification evidence and the availability of a suitable safety-certified variant/toolchain can outweigh almost everything else.
What is your team's expertise?
An RTOS your engineers already know—and that your semiconductor vendor supports well—can substantially reduce development risk.
A practical starting point
If you haven't selected the hardware yet, I'd prototype the same small application on Zephyr and FreeRTOS first: sensor acquisition → task scheduling → BLE/Wi-Fi → persistent storage → watchdog → OTA update → sleep/wake cycle.
That exercise will expose the differences that actually matter for your product much faster than comparing feature lists.
If you tell me the MCU/SoC, RAM/flash budget, connectivity (BLE/Wi-Fi/Thread/cellular/etc.), programming language, and whether this is consumer/industrial/safety-critical, I can narrow this to a concrete RTOS shortlist and decision matrix for your device.
I'd investigate Zephyr first if: your device has BLE/Wi-Fi/Thread/Matter-type connectivity, you want an integrated embedded platform, or you expect the hardware family to change over the product's lifetime.
2. FreeRTOS
FreeRTOS is the other major candidate.
The kernel is deliberately small and provides the fundamental real-time scheduling, synchronization, timing and inter-task communication facilities; networking and other capabilities can be added as components.
Current FreeRTOS materials report support for 40+ processor architectures, along with SMP, IPv6-capable TCP networking and cloud integrations. The project is distributed under the MIT open-source license.
I'd investigate FreeRTOS first if: you're using a relatively constrained MCU, your silicon vendor already has a good FreeRTOS SDK/BSP, or your team wants a relatively minimal RTOS and to assemble the rest of the software stack explicitly.
3. Eclipse ThreadX
Eclipse ThreadX is worth considering when you're looking for a mature commercial-embedded ecosystem, particularly if your organization already has ThreadX experience or existing middleware built around it.
It is also useful to evaluate against your MCU vendor's SDK: the quality of the vendor's BSP, drivers, networking stack, debugging tools, and examples can matter more than differences between RTOS kernels themselves.
Choosing the right Real-Time Operating System (RTOS) for an IoT device depends heavily on your hardware constraints, connectivity requirements, ecosystem preference, and safety certification needs.
The top options dominating the IoT landscape break down as follows:
Top IoT RTOS Options
FreeRTOS
Overview: The undisputed heavyweight for resource-constrained microcontrollers. Backed by Amazon AWS , it features a tiny memory footprint (6–1 0 K B kernel) and a permissive MIT license.
Best For: Simple-to-moderately complex MCU-based IoT devices, tight memory limits, and seamless AWS cloud integration.
Trade-offs: Middleware (like networking and file systems) is modular and piecemeal; for safety-critical certs, you typically have to step up to SafeRTOS.
Zephyr RTOS
Overview: A powerhouse open-source project backed by the Linux Foundation and major chip vendors. It uses a Linux-style device tree and Kconfig system, separating board drivers from application logic.
Best For: Highly connected IoT edge devices requiring native Bluetooth Low Energy, Wi-Fi, IPv6, or Matter/LoRaWAN stacks out of the box.
Trade-offs: Steeper learning curve and heavier upfront configuration/toolchain investment.
Eclipse ThreadX (formerly Azure RTOS)
Overview: Now under the Eclipse Foundation, ThreadX is an industrial-grade, ultra-fast, object-based RTOS. It comes with a stellar pedigree for safety certifications and cohesive, pre-integrated middleware (N e t X cap N e t cap X𝑁𝑒𝑡𝑋, F i l e X cap F i l e cap X𝐹𝑖𝑙𝑒𝑋, etc.).
Best For: Commercial products requiring turnkey safety certifications (IEC 61508, ISO 26262) and robust built-in middleware.
Trade-offs: Historically tied to enterprise licensing, though its transition to Eclipse has opened up accessibility.
NuttX
Overview: An open-source real-time operating system that boasts a POSIX-compliant environment, making it feel much like a tiny embedded Linux.
Best For: Complex IoT nodes needing POSIX API compatibility, standard file systems, and a rich command shell over resource-constrained chips.
Developer Perspectives
FreeRTOS remains the backbone of IoT MCU devices because it's lightweight, easy to pick up, and the MIT license keeps things friction-free for commercial shipping.
Zephyr is fantastic if you need heavy out-of-the-box connectivity like BLE and Thread concurrently. The device tree abstraction saves massive headaches if you have to spin hardware revisions on different chipsets later.
To help narrow down the ideal choice for your device, tell me:
What is the microcontroller/chip family (e.g., STM32, ESP32, Nordic nRF)?
What connectivity protocols do you need (Wi-Fi, BLE, Cellular, Matter)?
Do you require safety certifications (automotive, medical, industrial)?
Choosing an RTOS for an IoT device is mostly a tradeoff between resource constraints, connectivity needs, safety requirements, development speed, and long-term maintenance. The “best” RTOS depends heavily on your hardware and product goals. The main contenders today are FreeRTOS, Zephyr Project, and Eclipse ThreadX.
Quick recommendation
If your device is…
Start with…
Why
A small sensor, tracker, simple connected MCU product
FreeRTOS
Tiny footprint, mature ecosystem, easy adoption
A modern connected product with BLE/Thread/Matter, OTA, multiple MCU families
Zephyr
Strong integrated IoT features and portability
Industrial, automotive, medical, or safety-focused
ThreadX / commercial RTOS options
Mature deterministic behavior and certification paths
A Linux-class gateway with GUI, AI, containers, etc.
Consider Linux + real-time extensions instead of an MCU RTOS
NuttX RTOS — useful if you want a Linux-like programming model on a microcontroller.
Mbed OS — historically popular for Cortex-M IoT development, but it is generally less favored for new production designs compared with newer ecosystems.
A practical selection checklist
Before committing, compare candidates using your actual product requirements:
MCU and memory
<128 KB RAM: footprint becomes critical
256 KB+ RAM: ecosystem features often matter more
Connectivity
BLE only → almost any RTOS works
BLE + Thread + Matter + Wi-Fi + OTA → Zephyr often becomes attractive
Cloud integration
AWS IoT-heavy → FreeRTOS has advantages
Cloud-agnostic device fleet → Zephyr may offer more flexibility
Certification
Medical, automotive, industrial safety → evaluate certification evidence early
Product lifetime
A 10-year field device should prioritize maintenance model, vendor stability, and update mechanisms
My typical starting point
For a new IoT product in 2026:
Choose FreeRTOS if you need the smallest, simplest, fastest path to production.
Choose Zephyr if you expect the product family to grow, need many connectivity features, or want a more integrated embedded platform.
Choose ThreadX or a certified RTOS if compliance and safety dominate the design.
If you share your MCU (ESP32, STM32, nRF52/nRF54, RP2040, RISC-V, etc.), RAM/flash size, connectivity (BLE/Wi-Fi/LoRa/Thread), battery constraints, and whether certification is required, I can narrow this to a short list.
Choosing the right real-time operating system (RTOS) for an IoT device depends heavily on your hardware constraints, connectivity requirements, ecosystem preference, and safety certifications.
The top options break down into distinct leaders based on what you might be building:
1. FreeRTOS
Best for: Lightweight, resource-constrained microcontroller (MCU) units where simplicity, a tiny footprint, and a proven track record matter most.
Overview: Maintained by AWS but open-source under the MIT license, FreeRTOS is the most widely deployed RTOS in the world. It has a massive community, extensive documentation, and pre-integrated libraries for cloud connectivity, security, and OTA updates.
Pros: Extremely low memory footprint, massive hardware portability, and nearly every chip vendor provides a board support package (BSP) for it.
Cons: It is primarily a kernel and basic middleware; for complex multi-sensor or heavy networking stacks, you have to piece together external libraries yourself.
2. Zephyr Project
Best for: Connected sensors, modern multi-protocol IoT devices (Bluetooth, Wi-Fi, Cellular), and hardware-diverse designs.
Overview: Hosted by the Linux Foundation, Zephyr has grown into a powerhouse for modern IoT. It functions as more than just a traditional RTOS, acting as a complete "one-stop shop" framework with built-in networking stacks, file systems, and robust device driver models.
Pros: Vendor-neutral, highly modular, exceptional native support for modern connectivity (like BLE and Thread), and a modern developer toolchain.
Cons: Steeper learning curve than FreeRTOS, and a slightly larger memory footprint.
3. ThreadX (Eclipse ThreadX / Azure RTOS)
Best for: Commercial-grade, safety-critical devices (medical electronics, industrial automation, aerospace).
Overview: Now under the Eclipse Foundation (formerly Microsoft Azure RTOS), ThreadX is a deeply reliable, ultra-fast, deterministic kernel.
Pros: Pre-certified for various safety standards (IEC 61508, FDA Class III, etc.), highly optimized for deterministic performance, and comes with tight enterprise-grade middleware.
Cons: Historically less "plug-and-play" for casual hobbyist hacking, though its open-source transition under Eclipse has made it much more accessible.
To help narrow down the best fit, tell me a bit more about your project:
What is the target hardware/microcontroller (e.g., Cortex-M, ESP32, RISC-V)?
Do you need native wireless stacks (like Bluetooth Low Energy, Wi-Fi, or Cellular)?
Are there any mandatory safety certifications or strict security regulations you must meet?
For a new IoT device, I’d narrow the field to Zephyr, FreeRTOS, and Eclipse ThreadX. The “best” choice depends heavily on your MCU, connectivity, cloud, safety requirements, and how much of the platform you want the RTOS to provide.
RTOS
Best for
Biggest strengths
Main trade-off
Zephyr
New connected IoT products
Modern architecture, huge hardware support, networking/Bluetooth, security, device management
More complex than bare FreeRTOS
FreeRTOS
Small MCU devices, especially AWS IoT
Tiny kernel, mature ecosystem, easy to learn, excellent AWS integration
Less of a complete OS/platform than Zephyr
Eclipse ThreadX
Commercial/industrial embedded products
Very mature, small footprint, strong networking and safety/security story
Ecosystem/community is smaller than Zephyr's
1. Zephyr — my default choice for a new IoT design
I'd seriously consider Zephyr first if you're starting a product today and don't have a strong reason to choose something else.
It is a small-footprint, preemptive RTOS designed specifically for connected/resource-constrained devices. It supports a remarkably broad range of architectures—including ARM, RISC-V, x86, ARC, Xtensa and others—and has integrated subsystems for networking, filesystems, device drivers, power management and connectivity.
It's also Apache 2.0 licensed, which is attractive for commercial products.
Choose Zephyr when:
You're designing a new product rather than maintaining an existing FreeRTOS codebase.
You want to avoid becoming tightly coupled to one MCU vendor.
Wi-Fi/BLE/Thread/Matter/networking are important.
You expect the product to evolve over many hardware generations.
You want a fairly complete embedded OS rather than just a scheduler.
2. FreeRTOS — safest/simple choice for MCU-centric products
Eclipse ThreadX is the successor to Microsoft's Azure RTOS/ThreadX. It is particularly interesting when you need a highly optimized, deeply embedded system with networking, filesystem, USB and other components.
ThreadX is designed to run on extremely constrained MCUs; its documentation specifically describes targets with less than 64 KB of flash. It also provides components such as NetX Duo, FileX, USBX and GUIX.
Choose ThreadX when:
You're building industrial equipment or other long-lived embedded products.
Deterministic performance and a small footprint are priorities.
You need its mature middleware ecosystem.
Safety/security certification is important.
Your silicon vendor already has strong ThreadX support.
What I'd pick
For a brand-new connected IoT product, my initial ranking would be:
Zephyr — best overall starting point.
FreeRTOS — best if simplicity, MCU constraints, AWS, or existing ecosystem matter most.
Eclipse ThreadX — especially compelling for deeply embedded, industrial, or safety-oriented products.
The hardware can change that ranking dramatically. For example, if you're using an ESP32, STM32, Nordic nRF, NXP, Renesas, TI, or RISC-V MCU, I'd want to look specifically at the vendor's SDK/BSP support before making the final decision.
If you give me the MCU/SoC, RAM/flash, wireless technology (BLE/Wi-Fi/Thread/LTE/etc.), cloud backend, and whether functional safety/certification is required, I can make a much more concrete RTOS recommendation and compare Zephyr vs FreeRTOS vs ThreadX for your exact device.
Choosing the right Real-Time Operating System (RTOS) for an IoT device depends heavily on your hardware constraints, connectivity needs, safety certifications, and cloud ecosystem.
The top options span open-source community standards, enterprise-backed kernels, and high-safety environments:
FreeRTOS — The industry heavyweight for microcontroller-based IoT. It features an exceptionally small memory footprint, massive hardware support, and deep integration with AWS (though it works with any cloud). Best for low-power, cost-sensitive edge sensors and wearables.
Zephyr RTOS — A scalable, secure, modular open-source RTOS backed by the Linux Foundation. It is heavily "IoT-aware" out of the box with an extensive built-in networking stack (IPv6, BLE, etc.) and a fast-growing hardware board ecosystem.
Eclipse ThreadX (formerly Azure RTOS) — A high-performance, deterministic commercial-grade kernel. It stands out for having a rich lineage of pre-existing safety certifications (automotive, medical, industrial) and smooth commercial tooling.
RIOT OS — An open-source microkernel-based operating system built specifically for resource-constrained, low-end IoT nodes. It allows standard C development and feels developer-friendly while supporting full networking stacks.
PX5 RTOS — A newer, high-performance 5th-generation RTOS featuring native, non-layered support for the standard IEEE POSIX pthreads API, ideal for advanced resource-constrained devices.
To help narrow down your best option, tell me:
What microcontroller or SoC architecture (ARM Cortex-M, ESP32, RISC-V, etc.) are you using?
Does your device require functional safety certifications (like IEC 61508 or ISO 26262)?
Do you have specific cloud or networking protocols (MQTT, Wi-Fi, BLE, Cellular) you plan to integrate?
For a new IoT device, I’d shortlist Zephyr, FreeRTOS, and Eclipse ThreadX first. The right choice depends heavily on your MCU, connectivity, memory budget, safety requirements, and cloud stack.
RTOS
Best for
Strengths
Watch-outs
Zephyr
New, feature-rich connected products
Huge hardware ecosystem, networking, security, device drivers, modern architecture
More complex than bare FreeRTOS
FreeRTOS
Small/medium MCU IoT devices
Tiny kernel, mature ecosystem, very easy to adopt, excellent AWS integration
You'll often assemble more of the system yourself
Eclipse ThreadX
Highly constrained or commercial embedded products
Very small footprint, strong embedded networking stack, mature APIs, safety/security pedigree
Ecosystem is less broad than Zephyr
NuttX
Unix/POSIX-like embedded systems
POSIX-oriented, powerful networking/filesystem support
For a new product in 2026, I'd lean toward Zephyr RTOS unless there's a compelling reason to choose something else.
Zephyr supports a very large range of architectures and boards—its project currently lists 500+ supported boards—and provides integrated subsystems for networking, filesystems, device drivers, power management and communications. Zephyr ProjectGitHub It's also Apache-2.0 licensed.
That's particularly attractive if your device needs things like BLE + Wi-Fi/Thread, OTA updates, multiple sensors, power management, secure boot, or a long product lifetime.
When I'd pick FreeRTOS instead
Choose FreeRTOS if your device is relatively straightforward and you want the smallest learning curve and enormous MCU ecosystem.
FreeRTOS is MIT-licensed and supports 40+ architectures. Amazon Web ServicesFreeRTOS Its ecosystem also includes networking, security and OTA libraries, with particularly good integration around AWS IoT—but you don't have to use AWS.
I'd favor it for something like:
Cortex-M MCU → sensors → BLE/Wi-Fi → MQTT → cloud
where you don't need a huge OS abstraction layer.
When ThreadX makes sense
Eclipse ThreadX is especially interesting for deeply embedded, resource-constrained products or organizations that value its mature embedded ecosystem.
ThreadX was formerly Microsoft's Azure RTOS and is now maintained under the Eclipse Foundation. Its suite includes ThreadX itself plus NetX Duo networking, FileX filesystem, USBX and other components. Eclipse ThreadXEclipse ThreadX The project also has a strong safety/security pedigree.
How I'd decide
I'd use this rough rule:
Tiny/simple sensor or actuator: FreeRTOS
Modern connected IoT product:Zephyr
Very constrained commercial embedded product: ThreadX
Need POSIX-like APIs: NuttX
Experimental/research-oriented IoT: RIOT
Safety-critical: narrow the field based on the specific certification requirements, rather than choosing based on general RTOS popularity
The most important thing, though, is your hardware. An RTOS that looks excellent on paper can become a bad choice if your particular Wi-Fi/BLE chipset, MCU peripherals, bootloader, debugger, or vendor SDK has poor support.
If you tell me (1) MCU/SoC, (2) RAM/flash, (3) Wi-Fi/BLE/Thread/etc., (4) battery-powered or mains, (5) cloud platform, and (6) whether safety certification is required, I can give you a much more specific 2–3 option recommendation and architecture comparison.
That's particularly attractive if your device needs things like BLE + Wi-Fi/Thread, OTA updates, multiple sensors, power management, secure boot, or a long product lifetime.
When I'd pick FreeRTOS instead
Choose FreeRTOS if your device is relatively straightforward and you want the smallest learning curve and enormous MCU ecosystem.
FreeRTOS is MIT-licensed and supports 40+ architectures. aws.amazon.comfreertos.freertos.org Its ecosystem also includes networking, security and OTA libraries, with particularly good integration around AWS IoT—but you don't have to use AWS.
I'd favor it for something like:
Cortex-M MCU → sensors → BLE/Wi-Fi → MQTT → cloud
where you don't need a huge OS abstraction layer.
When ThreadX makes sense
Eclipse ThreadX is especially interesting for deeply embedded, resource-constrained products or organizations that value its mature embedded ecosystem.
ThreadX was formerly Microsoft's Azure RTOS and is now maintained under the Eclipse Foundation. Its suite includes ThreadX itself plus NetX Duo networking, FileX filesystem, USBX and other components. The project also has a strong safety/security pedigree.