The cost of an in-ground swimming pool can vary depending on factors such as the size, shape, materials used, and additional features. On average, the cost can range from $20,000 to $50,000 or more.