PCB TOOLS / PINOUT & INTERFACE REFERENCE

SD Card Pinout: SD, miniSD, microSD and SPI

Check physical contacts and SD/SPI signals separately for each form factor: full-size SD has 9 contacts, miniSD 11 and microSD 8. Their contact numbers are not interchangeable.

Quick answer

microSD contacts 1–8 are DAT2, CD/DAT3, CMD, VDD, CLK, VSS, DAT0 and DAT1. If the card supports SPI, CS is contact 2, DI/MOSI is 3 and DO/MISO is 7. CS on contact 1 in the historical combined table applies to SD/miniSD only.

Scope

Use the separate form-factor tables below for physical numbering. The historical 11-row table is an SD/miniSD signal reference: full-size SD uses only 1–9, while 10/11 are miniSD NC contacts. It is not a microSD physical map. Additional UHS-II/SD Express contacts are outside this classic single-row reference.

Reading example

For a microSD card documented to support SPI, card 2 is CS, 3 connects to host MOSI, 5 is SCLK, 7 connects to host MISO, 4 is the specified VDD and 6 is GND. Do not copy full-size SD contact 1 CS and contact 2 DI numbering.

Checked reference tables

Full-size SD: 9-contact physical map
Physical contactSD-mode signalSPI-mode signal (if supported)Function
1CD/DAT3CSData bit 3/detection function; active-low SPI select
2CMDDI / MOSISD command/response; SPI card input (host MOSI)
3VSSVSSSupply ground
4VDDVDDSpecified card supply
5CLKSCLKClock
6VSSVSSSupply ground
7DAT0DO / MISOData bit 0; SPI card output (host MISO)
8DAT1RSVData bit 1; reserved/unused in SPI
9DAT2RSVData bit 2; reserved/unused in SPI
miniSD: 11-contact physical map
Physical contactSD-mode signalSPI-mode signal (if supported)Function
1CD/DAT3CSData bit 3/detection function; active-low SPI select
2CMDDI / MOSISD command/response; SPI card input (host MOSI)
3VSSVSSSupply ground
4VDDVDDSpecified card supply
5CLKSCLKClock
6VSSVSSSupply ground
7DAT0DO / MISOData bit 0; SPI card output (host MISO)
8DAT1RSVData bit 1; reserved/unused in SPI
9DAT2RSVData bit 2; reserved/unused in SPI
10NCNCNot connected; leave open
11NCNCNot connected; leave open
microSD: 8-contact physical map
Physical contactSD-mode signalSPI-mode signal (if supported)Function
1DAT2RSVData bit 2; reserved/unused in SPI
2CD/DAT3CSData bit 3/detection function; active-low SPI select
3CMDDI / MOSISD command/response; SPI card input (host MOSI)
4VDDVDDSpecified card supply
5CLKSCLKClock
6VSSVSSSupply ground
7DAT0DO / MISOData bit 0; SPI card output (host MISO)
8DAT1RSVData bit 1; reserved/unused in SPI

Interfaces, pinouts and technical reference

Original SD / miniSD / microSD signal-numbering diagram
Original SD / miniSD / microSD functional numbering map; verify actual pin 1 and view. Not a mechanical view.

SD mode

Table 1 · SD mode
PinSignalDescription
1CD/DAT3Card detection / Data Line 3
2CMDCommand Line
3VSSGround
4VDD3.3V Supply (2.7-3.6v)
5CLKClock
6VSSGround
7DAT0Data Line 0
8DAT1Data Line 1
9DAT2Data Line 2
10n.c.miniSD only: NC; no such contact on full-size SD/microSDLegacy record: “Reserved”. The combined 11-row table cannot represent all three form factors. Contacts 10/11 are miniSD NC; use the separate physical pin tables.
11n.c.miniSD only: NC; no such contact on full-size SD/microSDLegacy record: “Reserved”. The combined 11-row table cannot represent all three form factors. Contacts 10/11 are miniSD NC; use the separate physical pin tables.

SPI mode

Table 2 · SPI mode
PinSignalDescription
1CSLegacy record: “CD”. The SPI chip-select signal is CS. The source’s CD can be confused with card detection: physical contact 1 on SD/miniSD, but 2 on microSD.Chip Select
2DIData Input
3VSSGround
4VDD3.3V Supply (2.7-3.6v)
5SCLKClock
6VSSGround
7DOData Output
8-Unused or IRQ
9-Unused
10n.c.miniSD only: NC; no such contact on full-size SD/microSDLegacy record: “Reserved”. The combined 11-row table cannot represent all three form factors. Contacts 10/11 are miniSD NC; use the separate physical pin tables.
11n.c.miniSD only: NC; no such contact on full-size SD/microSDLegacy record: “Reserved”. The combined 11-row table cannot represent all three form factors. Contacts 10/11 are miniSD NC; use the separate physical pin tables.
Legacy source notes and applicability

These notes retain the legacy record. For corrected facts and applicability, use this page’s quick answer, scope and visible table corrections.

SD mode
SPI mode
SPI mode is optional on microSD card

Frequently asked questions

Are miniSD contacts simply 1–11 from left to right?

No. Do not infer physical order by sorting contact numbers. The Hirose DM2 terminal drawing shows 9,1,2,3,10,11,4,5,6,7,8. Match the card contact view to the socket manufacturer’s drawing.

How do DI/DO correspond to MCU MOSI/MISO?

DI/DO are named from the card’s perspective: DI receives host data and corresponds to host MOSI; DO transmits card data to host MISO. DI is contact 2 on full-size SD/miniSD and contact 3 on microSD.

Related tools and references

Sources and verification

Legacy baseline: the Electrodoc Pro 5.2 data package. Raw records are retained and checked factual corrections are shown explicitly.