In most cases, putting a refrigerator in a dumpster is a bad idea and may violate local disposal rules because refrigerators contain refrigerant, oils, foam, and recyclable materials.
The short answer
Do not put a refrigerator in a dumpster unless the dumpster provider and local rules explicitly allow it after refrigerant has been properly recovered. Many dumpsters, apartments, job sites, and transfer stations prohibit refrigerators.
Why refrigerators are regulated
Refrigerators and freezers can contain refrigerant that must be recovered by qualified handlers. Doors, compressors, oils, and insulation can also create safety and environmental issues.
Better options
Use free appliance pickup, utility recycling programs, retailer haul-away, municipal bulk programs, or a licensed junk/removal provider that handles refrigerant rules.
What to do before pickup
Empty the fridge, unplug it if safe, secure loose shelves, take photos, and disclose whether it is inside, outside, upstairs, or in a garage.
Best next step
If you are unsure, avoid the dumpster and request pickup with photos. A local operator can tell you whether it can be reused, repaired, recycled, or needs special handling.