α-Halo-β-dicarbonyl compounds are usefulreagents for the protection of carboxylic acids, particularly penicillin 3-carboxylic acid. The protected carboxylic acids can be successfully converted into the free acids by treatment with nitrosatingreagents such as sodium nitrite and alkyl nitrite. The probable mechanism of this deprotection is also described.