Andrew Huberman· PhD
Well, it turns out that there's excellent peer-reviewed data on this. There's a study published in 2010 first author Lai Ly. This study found that for the same habit to be formed, it can take anywhere from 18 days to as many as 254 days for different individuals to form that habit.