2β-(chloromethyl)penams has been successfully performed by treatment with aqueous sodiumnitrite in a two-layer solution comprising aqueous hydrochloric acid and dichloromethane layers. Similarly, the corresponding 2β-(bromomethyl)penams can be obtained by use of aqueous hydrobromicacid in place of aqueous hydrochloric acid.