Wear socks but not shoes, at least while you're learning this dance move. It is possible to moonwalk while wearing shoes, but socks make it easier to slide your feet.
Stand with your feet several inches apart and your right foot flat on the floor. Place your left foot slightly in front of your right. Raise your left heel so that only your toes are touching the floor.
Slide your left toes backward, past your right foot.
Raise your right heel as the toes on your left foot become level with your right foot. Place your left foot flat on the floor as you raise your right heel.
Slide the toes of your right foot backward while your left foot remains flat on the floor. Slide your right foot until your toes are even with the center point of your left foot.
Shift your weight back to your right foot and repeat the sequence as many times as desired. This move looks best when performed smoothly and quickly.