Not without a permit. Grapevine’s building department says it is illegal for anyone, including a homeowner, to replace a water heater without one.
At least 18 inches above the garage floor, under the city’s inspection procedures. The rule covers gas and electric heaters alike, and any room that opens into the garage.
At an approved location or outdoors, full size to an air gap, never smaller than the valve outlet and with no flexible connectors. The city’s inspection checklist adds a 3/4 inch minimum and an outdoor end at least 6 inches above grade.
The building department’s goal for simple trade permits, water heaters included, is the same day, though it says the timing depends on its current workload.
Often, but three spots need a second look. An unconditioned attic only takes a heater listed for outdoor installation, a garage heater has to sit at least 18 inches off the floor, and a bedroom or bathroom needs a sealed enclosure unless the heater is direct-vent.