You likely want to be cozy while flying for hours at a time, but some airlines have restrictions on how far travelers can go to increase their comfort.

Social media users on TikTok have shared experiences of flying with fellow passengers who have taken off their socks on commercial flights.

The videos have led many to call out the need for education on airplane etiquette.

AIRLINE PASSENGER CAPTURES 'MANSPREADING' MOMENT IN VIRAL TIKTOK, SPARKING DEBATE

In fact, many popular airlines could remove a passenger from a flight if they go against a no-barefoot policy.

barefoot on an airplane

Did you know you could be removed from a flight if you took off your socks? These top airlines ask that passengers do not go barefoot on a flight. (iStock)

American Airlines carefully details what is required of passengers in its "conditions of carriage" contract.

'AIRPORT TRAY AESTHETIC' GOES VIRAL AS SOME TRAVELERS HALT SECURITY CHECKPOINTS FOR PHOTO OPS

In an effort to create a safe environment for all aboard, the airlines require everyone to "dress appropriately," which means "bare feet or offensive clothing aren’t allowed," according to American Airlines.

not wearing socks on an airplane

Airlines such as Southwest and JetBlue have put an age limit on passengers allowed to go barefoot — no one over the age of 5 can go barefoot unless they have a disability that requires it. (iStock)

Rule No. 21 on United Airlines' "Contract of Carriage" is "Refusal of Transport" which is made up of a variety of different reasons why someone may be denied entry onto the plane or possibly removal.

One of the variables listed includes, "passengers who are barefoot, not properly clothed, or whose clothing is lewd, obscene or offensive."

Some airlines only allow those of a certain age to go barefoot while flying.

TIKTOK TREND HAS AIRPLANE PASSENGERS BINDING THEIR ANKLES FOR EXTRA COMFORT: ‘INCREDIBLY DANGEROUS’

For the "comfort and safety" of those on the carrier, Southwest Airlines notes that its staff may remove someone if they are barefoot and above the age of 5, or without a disability that requires them to be barefoot.

man covering mouth on flight

Each airline has its own "contract of carriage" with a certain set of rules which may not allow a passenger to board or transport. (iStock)

JetBlue Airways is another airline that abides by the same age rule, according to its carriage contract.

While this rule seems to be popular among U.S.-based airlines, not all foreign airlines have this ban listed in conduct contracts.

Air Canada, Air France or even British Airways, to name a few, do not have any rules listed in the airlines' contract of carriage that allow for the removal of a passenger for being barefoot.

TIKTOK USER SAYS AMERICAN AIRLINES REPAID HER FOR GIVING UP SEAT, SOCIAL MEDIA USERS CHIME IN

When an airline does implement a no barefoot policy, enforcing it is reportedly up to the flight attendant.

Feet on airplane

A Florida-based etiquette expert recommends a passenger wear slippers or put on a clean pair of socks if they want to remain comfortable and still hygienic on a flight. (iStock)

Each contract uses the word "may be required," meaning it is not a hard and fast rule that passengers must follow.

For more Lifestyle articles, visit www.foxnews.com/lifestyle

Even though wearing socks is not necessarily required, there could be some fair reasons to keep your toes tucked away while on board.

Jacqueline Whitmore, an etiquette expert, said it is best to keep your feet covered in some capacity.

"From an etiquette standpoint, it is rude to walk about barefooted in a public place as many germs can be transmitted from your feet," Whitmore, who is based in Florida, told Fox News Digital.

CLICK HERE TO SIGN UP FOR OUR LIFESTYLE NEWSLETTER

"If you plan to take off your shoes on a longer flight, it’s best not to walk around without slippers for your own health and safety. The floor of the plane is extremely dirty, especially in the lavatory. The water on the floor is most likely not water at all."

Whitmore also said that being barefoot can impact those around you.

going barefoot on plane could get your removed

These airlines ask passengers not to go barefoot on their flight or else it could get them removed. (iStock)

"For fellow passengers, seeing someone walk around barefoot can be considered unpleasant or unhygienic, which could negatively impact their flying experience."

CLICK HERE TO GET THE FOX NEWS APP

If you want to get comfortable, but remain hygienic, Whitemore suggests putting on a clean pair of socks, slipping on your slippers or wearing more comfortable shoes.

Fox News Digital reached out to American Airlines, Delta Air Lines, Spirit Airlines, Southwest Airlines and JetBlue Airways for comment.