Sediment has stolen your tank volume
Mineral sediment accumulates on the tank floor and physically occupies space that used to hold hot water. A 50 gallon tank with several inches of sediment is functionally a much smaller tank. Rumbling noises usually accompany this. Flushing recovers the capacity.
A broken dip tube
The dip tube carries incoming cold water to the bottom of the tank so it heats from below. When it cracks or breaks off short, cold water dumps in at the top and mixes straight into the hot outlet. The result is lukewarm water that runs out almost immediately. It's an inexpensive part.
One of two elements has failed (electric)
Electric heaters have an upper and lower element. When the lower one fails, only the top portion of the tank heats. You get a small amount of genuinely hot water, then nothing. This is a very common and very fixable fault.
The tank is simply too small
If nothing has failed and your household has grown, the tank may just be undersized. A 40 gallon tank does not comfortably serve four people taking consecutive showers. The options are a larger tank or a tankless system that doesn't run out.
Michigan winters make this worse
Incoming groundwater is significantly colder in January than in July, so the heater has to raise it further to reach the same temperature. A tank that was borderline in summer will feel inadequate in winter. That's worth accounting for when sizing a replacement.
Whether it's a flush, a dip tube, an element or a replacement, we diagnose water heaters across Michigan and price the repair against replacement honestly. Call (888) 809-6756 any hour, or read more about Water Heater Repair in Michigan.