Cognac is a commune in the Charente department in southwestern France. It is a sub-prefecture of the department.