Plugging a generator straight into a 220v socket is extremely dangerous and should be avoided at all costs. If you connect your generator to your home’s electrical system without utilizing a transfer switch, the electricity from the generator can run back into the utility lines. This can be pretty risky.