The main components of a desktop computer include the central processing unit (CPU), motherboard, random access memory (RAM), storage devices (such as hard drives or solid-state drives), power supply unit (PSU), graphics processing unit (GPU), and peripheral devices (keyboard, mouse, monitor).