We have measured 87Rb–87Sr isochron ages for two granites, using the breadboard version of our Chemistry, Organics, and Dating EXperiment (CODEX), a laser-ablation resonance-ionization mass spectrometer designed for in situ geochronology on the Moon or Mars. These measurements extend the demonstrated analytical capabilities of CODEX, and indicate the value of incorporating a flight-ready version of CODEX, now under construction, into a future mission payload. We used CODEX to obtain accurate ages for the 1700 Ma Boulder Creek Granite, with 1σ statistical precision of 110 Myr, and for the 1100 Ma Pikes Peak Granite, with 1σ statistical precision of 160 Myr. To provide an end-to-end illustration of how CODEX analysis of granites can address critical lunar science questions regarding rock age and composition in situ, we describe an example mission to the lunar Gruithuisen Domes. Gruithuisen Domes appear to be volcanic edifices of granitic composition. Orbital remote sensing suggests that granitic rocks represent only a small fraction of the lunar surface, and the mere fact of their existence on the Moon is a puzzle. CODEX determination of the timing and process of their formation, both presently ill-understood, would provide important constraints on the thermal and geochemical evolution of the lunar interior.