Kaufbeuren (; Bavarian: Kaufbeiren) is an independent town in the Regierungsbezirk of Swabia, Bavaria. The town is an enclave within the district of Ostallgäu.