Training three times per week, you could do it in four to six months.
FAA regulations require a minimum of 40 hours of flight time to earn your private pilot certificate. This is broken into 20 hours of dual (with your instructor) and 10 hours of solo. Those regulations were created when our airspace was less complex. Today, the national average time to earn your private certificate runs around 60-70 hours. Training three times per week, you could do it in four to six months. Accelerated programs exist that take 10-21 days.