Toddlers typically need bed rails until they are 5-6 years old. It depends on their behavior and ability to stay in bed. Some may need them longer while others may not need them at all. It's important to monitor your child's sleep habits and make adjustments as needed to ensure their safety.