Cognac is a commune in southwestern France in the Charente department, Nouvelle-Aquitaine region, of which it is a subprefecture.