Basic Controls

Movement

ControlsButton
MovementL Stick
JumpX
Forward Roll (Roll Attack)L Stick + A
DashL Stick + A Hold
Side JumpZL + L Stick Left/Right + A
BackflipZL + L Stick Down + A
DiveWhile SwimmingA Hold
(While Swimming) AccelerateWhile Swimming on the SurfaceX
(While Holding onto Vines, etc.) Let GoB

The basic movement controls for Link in Ocarina of Time are moving with the L Stick and jumping with X. Also, holding A on land lets you Dash, while underwater, you can dive to the bottom.

How to Dash

Combat

ControlsButton
Horizontal SwingY
Vertical SwingL Stick Up + Y
ThrustZL + L Stick Up + Y
Spin AttackY Hold and Release
L Stick Full Rotation + Y
Jump AttackX + Y
ZL + L Stick Up + A
GuardZL
Guard AttackZL + Y
Put Away WeaponB

In Ocarina of Time, Link's main combat move is attacking with the sword using the Y Button. You can perform various attacks by combining stick inputs with jumps and holds, and you can guard by pressing ZL while holding a shield.

Items

ControlsButton
Use ItemZR
Switch ItemsL or R Hold + L Stick Left/Right
L or R Hold + Left on the D-PadRight on the D-Pad
YSort by type or selection order
Put Away ItemB

In Ocarina of Time, Link's basic item controls are to hold L or R to switch items and press ZR to use them. Unlike in the Nintendo 64 version, you don't need to assign items on a menu screen, so you can intuitively switch to the item you want to use.

Item List

Other

ControlsButton
Talk, examine, open, etc.A
Z-targeting (Face Forward)ZL
Camera ControlsR Stick
Reset CameraR Stick Click
Open Menu+
Open Map−
Talk to NaviRight on the D-Pad
Play OcarinaLeft on the D-Pad
Switch AccessoriesUp on the D-Pad
Switch BootsDown on the D-Pad

Other controls for Link in Ocarina of Time include ZL for Z-targeting and using the right stick to control the camera. Convenience has also been improved, as Ocarina and some equipment items can be used directly with the D-Pad, separately from the item slots.

Epona (Horse) Controls

ActionButton
MountA
DismountB
MoveL Stick
JumpToward a ledge/fenceL Stick
Speed upWhile ridingA
BrakeL Stick down
Z-targeting (Face forward)ZL
Talk, Examine, Open, etc.ZL + A
SidesteppingZL + L Stick
Use Item (Fire Bow)ZR

To control Epona in Ocarina of Time, use A to mount and accelerate, and the L Stick to move and brake. The controls feel similar to riding a horse in earlier Zelda games like The Legend of Zelda: Breath of the Wild and The Legend of Zelda: Tears of the Kingdom, so you can ride Epona with ease.

How to Get Epona

How to Change Button Layout

Only the Jump Button Can Be Changed

In Ocarina of Time, you can only change the jump button to either X or B. You cannot change any other button mappings in-game.

Best Settings and How to Change Them

Change Button Mapping in System Settings

On Switch 2, you can change button mapping in the system settings. Go to Settings > Accessibility > Button Mapping in the HOME Menu to configure it. However, be aware that this affects controls in all games played on this system.