Most enlisted positions require four years of active duty. If you join the Navy through an officer program, you must serve at least four of your eight years on active duty. However, pilots and flight officers must serve a minimum of eight to 10 years of active duty. Dentists, Medical Service Corps officers and nurses must serve a minimum of three years of active duty.