How to Check Which PCIe Version Your GPU and SSD Use

PCI Express, usually shortened to PCIe, is the connection used by graphics cards and most NVMe SSDs. PCIe generations such as Gen 3, Gen 4 and Gen 5 describe the connection's potential bandwidth. The speed actually in use can be limited by the CPU, the motherboard slot, the device or the number of lanes connected, written as x16, x8 or x4.
You do not need the newest PCIe generation for every upgrade. Check what your system supports before paying extra for speed it cannot use.
Step-by-step: check PCIe generation and link speed
Step 1: Identify your motherboard and CPU
Press Windows + R, type msinfo32 and press Enter. Note BaseBoard Product and Processor. Find the board's product page and manual on the maker's website. They explain which slots connect to the CPU and which connect through the chipset. See CPU and motherboard compatibility if you need help identifying the platform.
Step 2: Check the motherboard specifications
Find the PCIe and M.2 slot tables in the manual. They state each slot's size (x16, x4) and supported generation. A physical x16 slot is not always wired for 16 lanes, so read the table rather than assuming from the slot length. The CPU also limits the generation: a CPU that supports only Gen 3 will run a Gen 4 slot at Gen 3.
Step 3: Check the graphics card's active link
Install a trusted hardware-information tool from its official site, such as GPU-Z. On the main tab, look at Bus Interface. It shows the card's supported link first and the current link after the @ sign, for example PCIe x16 4.0 @ x16 1.1. At idle the card often drops to a slower link to save power. Click the small ? next to Bus Interface to run the Render Test, which loads the card for a minute so the reading rises to the real speed.
You should see: the current link match the card and slot (for example x16 4.0 under load). If the link stays low under load, such as x8 or x4, or generation 1 or 2, power off and reseat the card, check that the right slot is used, and check the BIOS has PCIe set to Auto. If you use a riser cable, it may be the limit.
Step 4: Check the NVMe SSD connection
The SSD maker's specification page states the drive's PCIe generation and lanes (such as Gen 4 x4). To see what is actually in use, install CrystalDiskInfo and look at Transfer Mode, which shows the current link first and the maximum after the divider, for example PCIe 4.0 x4 | PCIe 4.0 x4. Compare it with the M.2 slot's specification. The SATA versus NVMe guide explains why an M.2-shaped drive is not automatically a PCIe NVMe drive.
If the drive runs below its rating, check which M.2 slot it is in (the one nearest the CPU is often the fastest) and read the manual for slots that share lanes.
Step 5: Check for shared lanes
Some M.2 slots disable SATA ports or reduce another slot's lanes when used. This is normal. Check the manual before you move drives or add expansion cards. If a drive or port suddenly stops working after you add a device, shared lanes are a likely cause (see new SSD not showing up).
What matters when upgrading
A newer PCIe device usually works in an older compatible slot, but at the older slot's speed. For most graphics-card upgrades, the GPU model and power requirements matter more than the PCIe generation. For help picking a card, read how to choose a graphics card. For storage, a fast drive can still feel fast in everyday use even if its top benchmark speed is limited. If you are testing the numbers, see how to benchmark your PC. Balance the whole platform, not one specification.
More help
If a card or drive is slower than expected, see the PC repair guides home page and why an SSD slows down.
FAQ
Can I install a PCIe Gen 4 GPU in a Gen 3 slot? Usually yes, if the slot and card are physically and electrically compatible. It runs at the supported common generation.
Does a Gen 5 SSD always improve normal PC use? Not necessarily. It can improve large file transfers, but the benefit in basic desktop use may be small.
Why does my GPU report fewer lanes at idle? Power-saving behaviour can lower the active link until the card is under load.