γ-aminobutyric acid type-A receptors (GABA
A
Rs) are inhibitory ligand-gated ion channels in the brain that are crucial for controlling neuronal excitation. To explore their physiological roles in cellular and neural network activity, it is important to understand why specific GABA
A
R isoforms are distributed not only to various brain regions and cell types, but also to specific areas of the membrane in individual neurons. To address this aim we have developed a novel photosensitive compound, azogabazine, that targets and reversibly inhibits GABA
A
Rs. The receptor selectivity of the compound is based on the competitive antagonist, gabazine, and photosensitivity is conferred by a photoisomerisable azobenzene group. Azogabazine can exist in either
cis
or
trans
conformations that are controlled by UV and blue light respectively, to affect receptor inhibition. We report that the
trans
-isomer preferentially binds and inhibits GABA
A
R function, whilst promotion of the
cis
-isomer caused unbinding of azogabazine from GABA
A
Rs. Using cultured cerebellar granule cells, azogabazine in conjunction with UV light applied to defined membrane domains, revealed higher densities of GABA
A
Rs at somatic inhibitory synapses compared to those populating proximal dendritic zones, even though the latter displayed a higher number of synapses per unit area of membrane. Azogabazine also revealed more pronounced GABA-mediated inhibition of action potential firing in proximal dendrites compared to the soma. Overall, azogabazine is a valuable addition to the photochemical toolkit that can be used to interrogate GABA
A
R function and inhibition.