Irregular periods during perimenopause can last anywhere from several months to a few years, depending on the individual's hormonal changes and overall health.