The duration of fasting can vary based on personal preference and goals. Popular methods include the 16/8 method (fasting for 16 hours, eating within an 8-hour window) or the 5:2 method (eating normally for five days and restricting calories on two non-consecutive days).