The invention relates to the field of power supply technologies for electric vehicles, in particular to a pantograph and an electric vehicle with the same. The pantograph comprises a pantograph assembly. The pantograph assembly comprises a pantograph slide plate assembly, an upper support arm, a lower support arm, a pantograph support, movable tracks, expansion mechanisms and a translation mechanism, the pantograph slide plate assembly is perpendicular to a power supply line, the translation mechanism is further arranged on the movable tracks, and the expansion mechanisms are arranged betweenthe upper support arm and the pantograph support and between the lower support arm and the pantograph support. The pantograph is arranged on the top of the electric vehicle. The electric vehicle further comprises a data processing unit and a tracking device. The tracking device is arranged on the top of the electric vehicle, and the expansion mechanisms, the translation mechanism and the trackingdevice are in signal connection with the data processing unit. The pantograph and the electric vehicle have the advantages that the height of the pantograph can be adaptively adjusted, the pantographcan be in excellent contact with the power supply line even when the electric vehicle is deviated in lanes in the left-right directions, accordingly, power supply can be guaranteed against being interrupted, and the charge safety of the electric vehicle can be improved.