Navy sailors who vape better find a different habit — because fleet commanders are banning the use of electronic cigarettes on ships, subs and aircraft after several people suffered injuries when the devices exploded.

The “prohibition” was announced Friday and will go into effect on May 14, according to a Navy press release.

It not only applies to sailors, but marines, Military Sealift Command civilians and any personnel working on or visiting US Navy units.

“The fleet commanders implemented this policy to protect the safety and welfare of sailors and to protect the ships, submarines, aircraft and equipment,” the release said.

“Multiple Sailors have suffered serious injuries from these devices, to include first- and second-degree burns and facial disfigurement,” it adds.

“In these cases, injuries resulted from battery explosions during ENDS [Electronic Nicotine Delivery Systems] use, charging, replacement or inadvertent contact with a metal object while transporting.”

Individuals who are stationed on land will still be allowed to use the devices, but just in designated areas.

Those who want to take their vapes on-board a ship — to use at the next port — will be able to do so, but will have to remove the batteries and keep them stored in a plastic container, officials said.

There have been at least 15 incidents of e-cigarettes exploding since October 2015, according to the Naval Safety Center.

The close-calls have injured sailors, started fires and done other damage.

The new policy will ultimately last “until a final determination can be made following a thorough analysis,” the release said.