Toilets along the Inca Trail have improved a lot in the last couple of years and all of the larger campsites have toilet blocks with flush toilets and running water. On the whole they are kept pretty clean. If you do need to go the toilet between campsites then proper “leave no trace” policies should be followed.
Get Help Planning Your Trip