The invention relates to the technical field of Wi-Fi, and discloses a method for rapidly turning on and turning off Wi-Fi of an Android device. Consumed time and system resources for turning on and turning off the Wi-Fi are saved, and the user experience is improved. According to the technical scheme, the method comprises the steps that a system runs wpa_supplicant continuously and loads a driver, and meanwhile a system mark set for a current operation is read; if the current operation is to turn off the Wi-Fi, the system mark set by the current operation is prohibition of a network connection, the system turns off the network connection, and a network access point selection page is hidden; if the current operation is to turn on the Wi-Fi, the system mark set by the current position is permission of the network connection, and the system initiates the network connection. The method for rapidly turning on and turning off the Wi-Fi of the Android device is suitable for Wi-Fi management of the Android device.