Extensive activities have been carried out, including variable valve timing systems, smoke recovery systems and direct fuel injection engines to reduce engine emissions and increase engine efficiency. In four-stroke engines, the valves are moved using a cam, and the shape of the cam determines the timing of each valve. But using variable valve timing in the engine is an effective and big step to improve the resulting performance. The variable electromagnetic valve scheduling system allows the exhaust and fuel valves to operate in a completely variable manner and to react to the smallest changes in the cylinder heads. Today, it is used to control the valve timing by using a hydraulic motor and a cam. But the design and construction of the system studied in this research have more modern technology. In this study, magnetic magnets were used to remove the camshaft, camshaft, crankshaft, crankshaft and many mechanical parts instead of using a hydraulic motor to control variable timing and valve movement. Magnets in which existing coils acquire magnetic properties by applying current to them. For each valve, two magnets are used, one to open and the other to close the valve with a spring. Many dynamic and magnetic parameters have been used in the design of this system, and many geometric constraints are involved in its design. The electromagnetic force generated is proportional to the volume of the magnetic magnet, and this designed volume is limited by the space of the cylinder head block. The speed distribution of valves and armatures is Gaussian. The minimum valve speed in an electromagnetic motor depends on the natural frequency of the mass and spring system. It is constant regardless of the motor speed.