A mounting bracket for an electronic device is provided. The mounting bracket includes a first mounting member and a second mounting member. The first mounting member is configured to detachably accommodate a body of the electronic device and limit a position of the body. The second mounting member is configured to detachably accommodate an adaptor of the electronic device and limit a position of the adaptor. The first mounting member is fixedly connected to the second mounting member.