You can use a fire extinguisher on a fire pit, but it’s not recommended. Douse the fire completely with water first. Only use an extinguisher if the fire escapes the pit or as a backup in case the water doesn’t fully extinguish it.