An electric vehicle includes a carrier, a free-wheel unit, a foot-wheel unit, a driving unit, a first angle-detecting unit and a micro processing unit. The carrier is for supporting a user. The free-wheel unit is disposed at one end of the carrier. The foot-wheel unit is disposed at the other end of the carrier. The driving unit is disposed at the free-wheel unit or the foot-wheel unit, and is for providing a power to the electric vehicle. The first angle-detecting unit is disposed at the free-wheel unit or the carrier, and is for detecting a swinging status between the free-wheel unit and the carrier so as to provide a swinging signal. The micro processing unit is signally connected to the driving unit and the first angle-detecting unit. When the swinging signal achieves a predetermined condition determined by the micro processing unit, the driving unit is turned on.