The INSIDER Summary:

Pilots have resting cabins where they can sleep on long-haul flights.

The cabins are usually located behind the cockpit and above first class.

The small sleeping area typically contains a lie-flat bed, reclining seats, and sometimes a TV and bathroom.

Passengers aren't the only ones who sleep on long-haul flights. Flight attendants and pilots need their rest as well — but you won't catch them snoozing in economy class.

While flight attendants sleep on bunk beds in tiny crew rest areas, pilots get their own separate sleeping compartments, where they can spend up to half of their time on a long flight.

Most fliers are completely unaware of these hidden sleeping quarters. Here's what they look like.

On most planes, the pilot's resting area can be found above first class and tucked behind the cockpit, as it is on this Boeing 777.

Boeing

Pilots can access their sleeping quarters either by climbing hidden stairs or a ladder, like this one. (Mal Muir/AirlineReporter)

The sleeping berths look wide and comfortable enough, and there are curtains to help drown out the sound of the plane. There's also a phone in the room in case the resting pilot is needed

(David Parker Brown/Airline Reporter (David Parker Brown/Airline Reporter)

Some pilot's quarters come with a sink or bathroom, similar to this crew bathroom on a Lufthansa Airbus A380. Essentially, it looks the same as any economy class bathroom but it's probably cleaner and there's less wait time.

(David Parker Brown/Airline Reporter (David Parker Brown/Airline Reporter)

This pilot's resting area on an American Airlines 777 has a TV. The screen is definitely larger than the ones economy passengers are used to.

(David Parker Brown/Airline Reporter (David Parker Brown/Airline Reporter)

On this Air New Zealand 777, the pilot's compartment is designed in the standard layout, with two reclinable seats and beds at the back.

(David Parker Brown/Airline Reporter (David Parker Brown/Airline Reporter)