In summary. Pilots do sleep during the flight from time to time, but only for short periods during times of relatively low workload. For longer flights, a crew may be allocated bunk rest. Generally, airlines do their utmost to reduce the possibility of a pilot flying tired.