Lesparre-Médoc is a sub-prefecture of the Gironde department. It is also the capital of the "arrondissement" of Lesparre-Médoc and the administrative centre () of the "canton" of Le Nord-Médoc with 39,923 inhabitants .