How long do you need to train before running a marathon?

Experts recommend at least 3-6 months of training before running a marathon for the first time. This also depends on your physical fitness when you start training.