A semi-solid polymer dosimetry system using agar was developed to measure the dose distribution close to metallic implants. Dosimetry of heterogeneous fields where electron density markedly varies is often problematic. This prompted us to develop a polymer gel dosimetry technique using agar to measure the dose distribution near substance boundaries. Varying the concentration of an oxygen scavenger (tetra-hydroxymethyl phosphonium chloride) showed the absorbed dose and transverse relaxation rate of the magnetic resonance signal to be linear between 3 and 12 Gy. Although a change in the dosimeter due to oxidization was observed in room air after 24 hours, no such effects were observed in the first 4 hours. The dose distribution around the metal implants was measured using agar dosimetry. The metals tested were a lead rod, a titanium hip joint, and a metallic stent. A maximum 30% dose increase was observed near the lead rod, but only a 3% increase in the absorbed dose was noted near the surface of the titanium hip joint and metallic stent. Semi-solid polymer dosimetry using agar thus appears to be a useful method for dosimetry around metallic substances.