A magnetically powered engine adaptable to and modifiable to any gasoline-powered automobile, truck, motorcycle, bus, marine and other small engines having an engine block containing at least one cylinder, at least one piston, a crankcase, and at least one connecting rod secured to a lower portion of said piston and pivotally to a crankshaft enclosed in said crankcase. An electrical power source provides electrical current to an electromagnet fastened within a head of a cylinder, whereby said electromagnet is opposed to a permanent magnet having a fixed charge and secured to an upper surface of a piston for creating a magnetic field between the electromagnet and the permanent magnet causing a magnetic force driving the piston away from the electromagnet and reciprocating to cause a repulsive magnetic force between an adjacent electromagnet and permanent magnet, thus, transferring this reciprocating motion to a crankshaft and ultimately to a driveshaft in any powered vehicle, including automobiles, trucks, motorcycles, buses, and small engines, and likewise, adaptable to marine engines for driving a shaft which turns a propellor apparatus. The magnetically powered engine is also adaptable to smaller engines, including lawn mowers, small tractors, weedeaters and other similar gasoline-powered motors. Adaptation to the magnetically powered engine eliminates many components of a typical gasoline-powered engine including gasoline tanks, fuel lines, fuel pumps, tail pipes, mufflers, carburetors, etc.