Modern submarines can stay underwater for up to 90 days, but other factors like the weather and the depth of the water can affect their ability to stay submerged.