This article is about the form of transportation available in Creative and Spectator modes. For the flight attainable when using the elytra, see Gliding.
Flying is not limited by any processes such as food depletion, which limits sprinting. Flying can be toggled by double-tapping the "jump" key while playing in Creative mode (or when the "May fly" privilege has been given to the player [Legacy Console Edition only]) and can be activated at any altitude. The player can gain or lose altitude while flying by pressing the jump or sneak keys, respectively. Holding sprint allows the player to move faster while flying. In Creative mode, flying is automatically disabled if the player lowers onto a surface while in the air. [Java Edition only] In Spectator mode, flying cannot be disabled because players can fly through all blocks. Flying increases the player's field of view by 10%; it is increased further when holding sprint.
Flying makes the player move at around 10.92 meters/second (39.312 km/h), which is approximately 250% of the normal walking speed, being 4.36 meters/second (15.724 km/h). This is increased further when holding the sprint key to 21.6 meters/second (77.76 km/h). When flying, friction is reduced to a level equivalent to when on ice.[Java Edition only] A player flying in fluids or cobwebs neither sinks nor slows down. The Speed effect does not increase flying speed.[1]
In the Spectator mode, scrolling up on the scroll wheel increases speed while scrolling down decreases it.[Java Edition only] Players that stop flying drift a few blocks in the air.[Java Edition only] Also, players automatically stop flying if they touch any surface.[Java Edition only]
The player can also sneak while flying by holding jump and sneak simultaneously during flight.
If the player flies high enough in Creative mode, the sun or the moon can be seen through the fog when looking down, depending on which is below the horizon at the time; the player can also see the clouds at this time.
A player who gets into a bed or starts riding an entity (e.g. minecart and horse) while flying resumes flying when leaving the bed or dismounting the entity.