If you’re ready to start training for a marathon ... Generally speaking, it takes between 12 and 20 weeks to train for a marathon, but most plans range from 16 to 20 weeks in length.