The best way to train for a marathon is road running, however extreme weather, travel and other conditions can make treadmill training a necessity. To replicate your marathon effort when running on a treadmill, set your machine to a negative 2%. Do both your marathon pace runs as well as some tempo runs at this setting, which replicates the pounding your legs take when running 26.2.