What a diesel generator does and why it matters
A diesel generator is a machine that burns diesel fuel to create electricity. It has three main parts working together: a diesel engine that runs on fuel, an alternator that converts the engine's motion into electrical current, and a control panel that regulates the output and lets you turn it on and off. When you need power in a location without grid electricity — a construction site, a remote property, a backup system for a building — a diesel generator produces it on demand.
Diesel generators are different from gasoline generators because diesel fuel contains more energy per gallon, so they run longer on a tank and cost less to operate over time. They also last longer under heavy use because diesel engines are built more robustly than gasoline engines. The trade-off is that diesel generators are heavier, more expensive upfront, and louder than gasoline models.
Understanding how they work and what size you need is the first step to choosing one that will actually do the job you have in mind.
Key Takeaways
- Diesel generators convert fuel into electricity through an engine-and-alternator system, and they run longer and cheaper than gasoline generators over time.
- Generator size is measured in kilowatts (kW), and you need to add up the wattage of everything you plan to run to find the right size for your needs.
- Diesel generators require regular maintenance — oil changes, fuel filters, and load testing — to stay reliable and last for years.
- A portable diesel generator weighs 500 to 2,000 pounds, while a standby unit bolted to a building foundation can weigh several tons and requires professional installation.
- Diesel fuel storage, noise levels, and local regulations about where you can place a generator all affect whether one will work for your situation.
How to calculate the generator size you need
The first decision is how many kilowatts (kW) of power your generator must produce. One kilowatt equals 1,000 watts. Every device that runs on electricity has a wattage rating — usually printed on a label on the back or bottom. Add up the wattage of everything you plan to run at the same time, then add 20 to 30 percent as a safety margin.
For example: if you need to run a 5,000-watt air compressor, three 1,500-watt work lights, and a 2,000-watt battery charger all at once, that is 5,000 + 4,500 + 2,000 = 11,500 watts, or 11.5 kW. Add 25 percent and you need a generator rated for at least 14.4 kW. In practice, you would buy a 15 kW model.
Some devices — especially motors and compressors — draw extra power when they first start up. This is called inrush current or starting load. A motor that runs at 5,000 watts might need 15,000 watts for the first second or two when it starts. If your generator cannot handle that spike, it will shut down or the device will not start. Check the starting wattage of any motor-driven equipment and factor that into your calculation, not just the running wattage.
Portable versus standby diesel generators
Portable diesel generators are wheeled or skid-mounted units that you can move from one location to another. They range from 5 kW to about 50 kW and weigh between 500 and 2,000 pounds. You connect them to your equipment with heavy-duty cables and fuel them from portable tanks or drums. Portable units are useful for job sites, temporary power needs, and situations where you do not have a permanent installation location.
Standby diesel generators are permanently installed outside a building, usually on a concrete pad. They are larger — often 20 kW to 500 kW or more — and heavier, and they connect directly to a building's electrical panel through a transfer switch. A transfer switch automatically detects when grid power fails and starts the generator within seconds. Standby units are designed for continuous backup power and require professional installation by a licensed electrician.
Portable generators are cheaper upfront and flexible, but they require manual setup and fuel management. Standby generators cost more to buy and install, but they start automatically and require less hands-on work during an outage. Your choice depends on whether you need permanent backup power or temporary power for specific tasks.
What maintenance a diesel generator needs
Diesel generators need regular maintenance to stay reliable. The most important tasks are changing the oil, replacing fuel filters, and running the engine under load.
Oil changes should happen every 100 to 250 hours of operation, depending on the manufacturer's manual. The exact interval varies by model. If you run your generator daily, that might be every few weeks. If you run it only during outages, it might be once or twice a year. Dirty oil causes engine wear and overheating, so this is not optional.
Fuel filters trap water and sediment that can clog the fuel injectors. Replace them every 200 to 500 hours of operation, or whenever you notice the generator running rough or losing power. Diesel fuel can absorb water from the air, especially in humid climates, so fuel filter maintenance is critical in wet environments.
Load testing means running the generator at 50 to 75 percent of its rated capacity for at least 30 minutes once a month. This prevents fuel buildup in the injectors and keeps the engine in working order. A generator that sits idle for months and then is suddenly asked to produce full power is more likely to fail. Monthly load testing prevents that.
Keep a maintenance log with dates and hours of operation. This helps you stay on schedule and shows future buyers that the unit has been cared for.
Fuel storage and handling for diesel generators
Diesel fuel stores longer than gasoline — typically 6 to 12 months in a sealed tank — but it still degrades over time. Bacteria and water can grow in stored fuel, especially in warm, humid climates. If you plan to keep fuel on hand for more than a few months, add a fuel stabilizer to prevent gum and varnish buildup.
Store diesel fuel in approved containers away from living spaces, heat sources, and direct sunlight. Metal drums or plastic tanks designed for diesel are standard. Some people use underground storage tanks, which protect fuel from temperature swings and UV light. Check your local fire code and zoning regulations — many areas have rules about how much fuel you can store and where.
Diesel fuel is less flammable than gasoline, but it is still a hazardous material. Keep spill cleanup supplies nearby and know how to dispose of old fuel properly. Many waste management facilities and auto shops accept used diesel fuel for recycling.
Noise levels and where you can place a generator
Diesel generators are loud. A typical portable diesel generator produces 70 to 85 decibels of noise at 25 feet away — roughly the sound level of a busy highway. Larger standby units can be even louder. This matters if you are placing the generator near homes, offices, or other occupied spaces.
Many cities and counties have noise ordinances that limit how loud equipment can be during certain hours. Some areas allow 85 decibels during the day but only 70 decibels at night. Check your local noise code before you buy or install a generator. If noise is a concern, you can reduce it by placing the generator in an enclosure, using vibration-dampening mounts, or installing a muffler upgrade.
Zoning regulations may also restrict where you can place a generator. Some residential areas do not allow generators in front yards or within a certain distance of property lines. Commercial and industrial zones usually have fewer restrictions. Call your city planning or zoning department to confirm what is allowed on your property.
Choosing between new and used diesel generators
A new diesel generator comes with a warranty — usually 2 to 5 years depending on the brand — and you know its full service history. New units are more expensive but have predictable reliability and support from the manufacturer.
Used diesel generators cost less upfront but carry unknown maintenance history. Before buying a used unit, ask for the maintenance records, run hours, and reason for sale. Start it up and listen for unusual sounds. Check the oil level and condition. If the seller cannot or will not provide records, assume the generator has been neglected and budget for when ready service.
A used generator that has been well maintained and has low hours is often a good value. One with high hours and no records is a gamble. Buying from a dealer who inspects and services used equipment is safer than buying from a private seller, though it costs more.
Common problems and how to prevent them
Generator will not start: The most common cause is stale fuel. Diesel fuel that has sat for months can gum up the fuel injectors. Drain the old fuel, refill with fresh diesel, and add fuel stabilizer. If the generator still will not start, check that the fuel filter is not clogged and that the battery (if the unit has an electric starter) has charge.
Generator loses power under load: This usually means the alternator is failing or the engine is not getting enough fuel. Check the fuel filter first — a clogged filter reduces fuel flow. If the filter is clean, the alternator may need replacement. Have a technician test it.
Generator shuts down after running for a short time: Overheating is the most likely cause. Check that the cooling fins are not clogged with dust or debris. Make sure the generator has adequate airflow around it. If the engine is overheating even with clean fins and good airflow, the thermostat or water pump may be failing.
Fuel leaks: Inspect fuel lines and connections regularly for cracks or loose fittings. Diesel fuel is corrosive to rubber hoses over time, so replace hoses every few years even if they look fine. Tighten any loose connections with a wrench.
Frequently Asked Questions
How long can a diesel generator run continuously?
A well-maintained diesel generator can run for hundreds of hours continuously, limited mainly by fuel supply and maintenance intervals. You will need to change the oil and inspect filters during extended operation. Most manufacturers recommend an oil change every 100 to 250 hours. For truly long-term operation, plan for scheduled maintenance stops.
Can I run a diesel generator indoors?
No. Diesel generators produce carbon monoxide, a colorless, odorless gas that is deadly in enclosed spaces. Always run a generator outdoors, at least 20 feet away from windows, doors, and air intakes. Even a garage with the door open is not safe. Carbon monoxide can seep into a building through walls and vents.
What is the difference between a diesel generator and a diesel inverter generator?
A standard diesel generator produces AC power directly from the alternator. An inverter generator converts AC power to DC and back to AC, which produces cleaner, more stable power. Inverter generators are better for sensitive electronics like computers and phones, but they are more expensive and usually smaller. For tools and general power, a standard diesel generator is fine.
How much does it cost to run a diesel generator?
Fuel cost depends on diesel prices in your area and how much you run the generator. A typical portable diesel generator uses 0.5 to 1 gallon per hour at half load. If diesel costs $3 per gallon, running a generator for 8 hours costs $12 to $24 in fuel alone. Add maintenance costs — oil changes, filters, and occasional repairs — and budget $500 to $1,500 per year for a generator in regular use.
Do I need a permit to install a standby diesel generator?
Most jurisdictions require a permit for permanent generator installation. The permit process includes an electrical inspection to make sure the transfer switch and wiring are safe. Contact your local building department before you buy a standby generator. Permit costs vary but typically run $100 to $500. Installation by a licensed electrician is usually required and is not optional.