PCIe x8 NIC in PCIe x16 slot

Solution 1:

What should be: The PCIe spec states that all slots start at 1x/v1.0 and negotiate how many lanes they can use and what clock speed. It shouldn't matter which supports more lanes/clock, some slots are designed to take larger cards and smaller cards fit in larger slots. Whatever the highest spec both sides can communicate at (both the number of lanes and the clock/version), that is the speed that will be negotiated and used. Endpoints can support 1x, 2x, 4x, 8x, 16x, and 32x, though there are no slots specifically for 2x and 32x. Speed is specified by major version number (2.5, 5.0, 8, 16 GT/s).

What really is: Usually what should happen is what actually happens. But there are quite a few boards (especially enthusiast boards) that do not follow spec. Some motherboards will not use anything but a 16x video card in their first PCIe slot. Others will not auto-negotiate correctly (commonly falling back to less lanes - this seems particularly common with 2x cards that negotiate to 1x speed). In server grade hardware these problems are very rare, but it happens. If both the system/motherboard are from the same manufacturer as the card, you should be able to contact their support and find out if it's a supported configuration (if they don't know or can't answer it's a huge redflag and you should consider not buying from them/returning). Also, try searching your particular motherboard and see if anyone has reported a problem.

Solution 2:

Yes, you can plug in in and it will work fine.


Long version:
Three things are important for PCIe connection:

  1. PCIe version (v1, v2 or v3. Lowest common version is used)
  2. Number of lanes on the card you plug into a connector (e.g. x1, x4, x8 or x16)
  3. Number of lanes supplied to the connector (e.g. x1, x4, x8 or x16)

Any combination of card and slot/connector_on_MB is possible.


Even longer version:

A x1 card will work fine in a x1 slot.
A x1 card will also work fine in a x4 slot. But it will be limited to x1 speeds.
A x1 card will also work fine in a x8 slot. But it will be limited to x1 speeds.
A x1 card will also work fine in a x16 slot. But it will be limited to x1 speeds.

A x4 card will work in an x1 slot, but will be limited to x1 speeds.
A x4 card will also work fine in a x4 slot.
A x4 card will also work fine in a x8 slot. But it will be limited to x4 speeds.
A x4 card will also work fine in a x16 slot. But it will be limited to x4 speeds.

A x8 card will work in an x1 slot, but will be limited to x1 speeds.
A x8 card will also work fine in a x4 slot. It will be limited to x4 speeds.
A x8 card will also work fine in a x8 slot.
A x8 card will also work fine in a x16 slot. But it will be limited to x8 speeds.

A x16 card will work in an x1 slot, but will be limited to x1 speeds.
A x16 card will work in an x4 slot, but will be limited to x4 speeds.
A x16 card will work in an x8 slot, but will be limited to x8 speeds.
A x16 card will work in an x16 slot.

There are several kinds of PCIe connectors/slots on motherboards.
Slots allowing up to x16 lanes are most common. However the same physical connector can be used for x1, x4, x8 and x16. In many server class motherboards you will find slots which physically allow x16 cards, but with only 8 lanes connected.

The reverse is also possible. If you take a x1 connector and use a saw to open the end of the slot then you can physically connect a larger card and it should work. I know at least one company which does this to put PCIe x16 cards in PCIe x1 slots. (They use the PCIe x16 slots for other cards).