The invention relates to a two-purpose tricycle capable of switching between vegetable basket and compartment. The tricycle comprises an tricycle frame body, a handle connectedto that front end of theframe body and a front wheel connected to the low end thereof, and rear wheels arranged on both sides of the rear end of the frame body, and a front chain disk and an electric motor arranged in the middle of the frame body, the vehicle frame body comprises a front axle frame, The left rear axle and the right rear axle, the left rear axle and the right rear axle are respectively slidably connectedwith the front axle frame, The rear chain disk and battery are also secured, The vegetable basket and the compartment are both arranged at the t rear end of the frame body, A left rear axle and a right rear axle structure slidably connected with a front bridge are adopted, in conjunction with the telescopic bridge bar to achieve the volume adjustment of the frame body, At the same time, the utility model adopts the folding vegetable basket and a split combined car structure to achieve the vegetable basket, and the tricycle is switched or used together to satisfy the multi-purpose of one tricycle, so that the utility model not only can satisfy the load unloading, but also can reduce the volume and improve the driving flexibility of the whole car, and is convenient to shuttle on narrow roads such as a vegetable farm and the like.