It depends on several different things…
Variables that impact the duration for a beginner to learn how to swim include age, prior swimming lesson experience, other sports the swimmer has participated in, if there is a pool at home, and if the swimmer has had a negative experience in or around water.