An antenna structure includes a housing and at least one switching circuit. The housing includes a border frame made of metal including at least one gap dividing the border frame into at least two radiating portions. The at least one switching circuit is mounted to the at least one gap and electrically coupled to the at least two radiating portions on opposite sides of the at least one switching circuit. The at least one switching circuit is controlled to switch between an open circuit state and a closed circuit state. A length of the at least two radiating portions is changed by the at least one switching circuit switched between the open circuit state and the closed circuit state to adjust a bandwidth of the antenna structure.