Neptune like the rest of the solar system is roughly 4.5 billion years old. It is believed that Uranus and Neptune were closer to the Sun when they formed and later migrated to their current orbits due to gravitational influence from Jupiter and Saturn.