Painan is a coastal town that serves as the capital of the South Pesisir regency of West Sumatra, Indonesia. It is an urban centre in IV Jurai District.