WiFi relies on electricity to work, so if there is a power outage, your WiFi router and modem will lose power and your wireless network will not be operational until the power is restored. However, if you have a backup power supply, such as a battery backup or generator, for your router and modem, then your WiFi network may still work during a power outage.