Yes pre-booking your entrance ticket is essential if you plan on visiting Machu Picchu; these must be purchased online before arriving at the citadel so make sure you allow enough time for this process ahead of time! Tickets can sell out quickly during peak season so book yours early if possible.