We present a protocol for measuring oxygen consumption and extracellular acidification in Drosophila melanogaster larval and adult brains. A metabolic analyzer is utilized with an adapted and optimized protocol. Micro-tissue restraints are a critical component of this protocol and were designed and created specifically for their use in this analysis.