Abstract. A detection scheme based on real-time measurement of antihydrogen annihilations during radiation injection is presented, which allows an efficient use of the trapped atoms for laser and microwave spectroscopy. The application of real-time detection of H annihilations to microwave spectroscopy, which yielded the first evidence of microwaveinduced spin-flip transitions in trapped antihydrogen [1], is reported.