SATA pinout: S1-S7 data and P1-P15 power
A SATA drive plug lines up two segments at 1.27 mm pitch: 7 data pins (S1 to S7, two differential pairs between three grounds) and 15 power pins (P1 to P15: 3.3 V, 5 V, 12 V and grounds). Since SATA 3.3, P3 can switch the drive off (PWDIS); P11 handles staggered spin-up and the activity LED.
By Hugues Orgitello · Updated ·
Data segment, 7 pins (S1 to S7)
Names from the SATA specification. Direction seen from the drive: pair A is the drive input (host transmit), pair B its output. The data cable is straight through: host S2 lands on drive S2. On the plug, the grounds are longer than the signal pins.
| Pin | Signal | Dir. | Mate (cable) | Mate (backplane) | Description |
|---|---|---|---|---|---|
| S1 | GND | 1st | 2nd | Ground, long contact (Ground) | |
| S2 | A+ | In | 2nd | 3rd | Differential pair A, positive (drive RX+, host TX+) (Differential pair) |
| S3 | A- | In | 2nd | 3rd | Differential pair A, negative (drive RX-) (Differential pair) |
| S4 | GND | 1st | 2nd | Ground between the two pairs (Ground) | |
| S5 | B- | Out | 2nd | 3rd | Differential pair B, negative (drive TX-, host RX-) (Differential pair) |
| S6 | B+ | Out | 2nd | 3rd | Differential pair B, positive (drive TX+) (Differential pair) |
| S7 | GND | 1st | 2nd | Ground, long contact (Ground) |
Power segment, 15 pins (P1 to P15)
On the drive, the pins of one voltage are bused together (P1-P3, P7-P9, P13-P15 in revisions up to 3.1), as are all the segment grounds. Three contact lengths: P4 and P12 mate first on a backplane, then the precharge pins and the other grounds, then the rest.
| Pin | Signal | Dir. | Mate (cable) | Mate (backplane) | Description |
|---|---|---|---|---|---|
| P1 | V33 | 2nd | 3rd | 3.3 V up to SATA 3.1, retired since; often not connected on recent drives (Power) | |
| P2 | V33 | 2nd | 3rd | 3.3 V up to SATA 3.1, retired since (Power) | |
| P3 | V33 / PWDIS | In | 1st | 2nd | Former 3.3 V precharge. Since SATA 3.3: PWDIS, a high level (2.1 to 3.6 V) cuts power to the drive electronics (Configuration) |
| P4 | GND | 1st | 1st | Ground, longest contact (Ground) | |
| P5 | GND | 1st | 2nd | Ground (Ground) | |
| P6 | GND | 1st | 2nd | Ground (Ground) | |
| P7 | V5 | 1st | 2nd | 5 V, precharge (Power) | |
| P8 | V5 | 2nd | 3rd | 5 V (Power) | |
| P9 | V5 | 2nd | 3rd | 5 V (Power) | |
| P10 | GND | 1st | 2nd | Ground (Ground) | |
| P11 | DAS/DSS | I/O | 2nd | 3rd | Input before PHYRDY: disable staggered spin-up (DSS). Output afterwards: device activity signal (DAS), for an LED (Configuration) |
| P12 | GND | 1st | 1st | Ground, longest contact (Ground) | |
| P13 | V12 | 1st | 2nd | 12 V, precharge (Power) | |
| P14 | V12 | 2nd | 3rd | 12 V (Power) | |
| P15 | V12 | 2nd | 3rd | 12 V (Power) |
A SATA backplane to design, a PWDIS drive that will not spin up, pairs to validate? We route these links and check their SATA electrical compliance in our lab, on our Tektronix scope running TekExpress.
Hot plug: contact lengths and precharge
The SATA plug has three contact lengths. On a backplane (drive plugged in directly), P4 and P12 mate first, then the precharge pins (P3, P7, P13) and the other grounds, and finally the signals and the remaining power pins. Each voltage therefore has one pin that feeds the drive before the other two: that is precharge. The Seagate Barracuda 7200.11 manual describes exactly this sequence.
With a cable, the order still exists but the specification states that hot plugging is not supported with the cable receptacle. For a hot-swap drive bay we therefore design a backplane that takes the drive plug directly, not a cable.
P3 and the PWDIS trap (SATA 3.3)
Up to SATA 3.1, P1, P2 and P3 carried 3.3 V and had to be bused together in the drive. The 3.3 V rail saw very little use and SATA-IO retired those pins. SATA 3.3 (published 2 February 2016) gives P3 a new job, Power Disable (PWDIS): a high level between 2.1 and 3.6 V cuts power to the drive electronics, which lets an enclosure hard-reset a drive remotely.
The trap: an older power supply or backplane that puts 3.3 V on P3 holds a PWDIS drive in permanent reset, and it never spins up. Western Digital documents this for its Ultrastar SATA drives and reports no damage; the usual workaround is a Molex to SATA adapter, which supplies no 3.3 V. On a host board we therefore never tie P3 to 3.3 V: we leave it open, or drive it from a dedicated output when remote power-off is wanted.
The 3.3 V on P1 and P2 is usually unused: WD Ultrastar drives declare them not used, and an industrial 2.5-inch SSD such as the Innodisk 3MG2-P leaves P1 to P3 and P13 to P15 unconnected. Check the target drive datasheet before you drop a rail.
P11: staggered spin-up and activity LED
P11 changes direction during power-up. Before PHYRDY it is an input: the host uses it to disable staggered spin-up (DSS). After PHYRDY it is an output: the drive signals activity (DAS), mostly useful on a backplane to light one LED per bay. A host uses only one of the two functions.
Pin P11 of the power cable receptacle is always grounded. A drive that sees P11 grounded spins up as soon as power is applied, with no staggered spin-up. To stagger the spin-up of several drives, the host board must leave P11 open, and the drive must support the feature. Western Digital caps the high level on P11 at 3.3 V.
Pair routing and AC coupling
Pairs A and B are AC-coupled differential links: one series capacitor on each wire, placed where the controller or redriver reference design puts it. Diodes (Pericom) recommends low-ESR X7R 10 nF capacitors in 0402 for its SATA redrivers; the TI SN75LVCP601 redriver datasheet lists 12 nF in its recommended operating conditions.
Route each pair at 100 Ω differential (±20 % target per the Diodes application note), with under 5 mils of length mismatch between + and -, pair-to-pair spacing above three times the gap, and few, symmetric vias. A swapped polarity or a swapped pair is the costliest mistake: A is the drive input, B its output. The internal cable is limited to 1 m.
Drive-side plug dimensions
The drive plug is defined mechanically by SFF-8482, which describes the SAS plug; its primary contact set follows the SATA layout, and SFF-8223 puts the connector in the same place so a SAS backplane accepts a SATA drive. The housing is 42.73 mm long (reference dimension) and 4.00 mm high. The 22 contacts, 0.84 mm wide, sit at 1.27 mm pitch: P15 and S1 are 15.875 mm either side of the centerline of the 33.43 mm slot.
That gives a contact zone of 18.62 mm for power (14 pitches plus one contact width) and 8.46 mm for data, with 6.35 mm between the P1 and S7 centers, or 5.51 mm edge to edge. For sequencing, SFF-8482 offsets the forward and set-back plug contacts by 0.50 mm nominal, which produces the three contact levels described above.
eSATA, mSATA and slimline SATA
eSATA is the external, hot-pluggable version of the data link: shielded cable up to 2 m, no L-shaped key, insertion depth raised from 5 to 6.6 mm, over 5,000 mating cycles against 50 for the internal connector, and its own electrical levels (Gen1m, Gen2m).
mSATA reuses the Mini PCI Express card format and connector, with a SATA interface behind it. An mSATA card fits a mini PCIe slot but only works if that slot is wired to a SATA host controller. An M.2 SSD can carry SATA too: see our page on M.2 keys.
The slimline connector of thin optical drives keeps the 7-pin data segment with a reduced power segment. The public sources we found disagree on how that segment is numbered; we do not publish its pinout until we can check it against a manufacturer document.
FAQ
- How many pins does a SATA connector have?
- A 2.5 or 3.5-inch drive plug has 22 in a single row at 1.27 mm pitch: 7 for data (S1 to S7) and 15 for power (P1 to P15). The two segments may be separate, as on PC cables.
- Why will my SATA drive not spin up on an older power supply?
- Most likely because it is a PWDIS drive (SATA 3.3) and the supply puts 3.3 V on P3: the drive stays in reset. A Molex to SATA adapter, which supplies no 3.3 V, gets it to spin up. The drive is not damaged.
- Which SATA pins transmit and which receive?
- Seen from the drive, pair A (S2 A+, S3 A-) receives and pair B (S5 B-, S6 B+) transmits. The host side is the reverse, and the cable is straight: it does not cross the pairs.
- Does a SATA drive need 3.3 V?
- Rarely. The 3.3 V on P1 to P3 has been retired from the specification: Western Digital Ultrastar SATA drives declare P1 and P2 not used, and the Innodisk 3MG2-P SSD uses only 5 V. The drive datasheet is the only authority.
- Can a SATA drive be hot plugged?
- Yes on a backplane, thanks to the staggered contacts and precharge pins, if the host supports it. Not with the cable receptacle: the specification states hot plugging is not supported there. External eSATA is designed for it.
- SATA-IO, Serial ATA Revision 3.x specification (members only) (paid or members-only document)
- SATA-IO, Technical Proposal 037, Standard SATA Connector 3.3V Power Pin Assignments (Table 1, pins and mate sequence)
- SATA-IO, Technical Proposal D137, Hardware Control Feature Mechanism (pin P11, DSS and DAS)
- Seagate, Barracuda 7200.11 Serial ATA Product Manual Rev. C (Table 8 and Figure 1)
- Western Digital, Tech Brief: Power Disable Feature (Table 4)
- Innodisk, 2.5" SATA SSD 3MG2-P datasheet Rev 4.1 (Table 8 and Figure 3)
- Diodes (Pericom), PI3EQX6801 SATA ReDriver Application Note
- Texas Instruments, SN75LVCP601 SATA redriver datasheet (SLLSE41H)
- SFF Committee (SNIA), SFF-8482 Rev 2.5, Serial Attachment 2X Unshielded Connector (Figure 4-1, section 5.3)
- SFF Committee (SNIA), SFF-8223 Rev 2.7, 2.5" Form Factor Drive with Serial Attached Connector
- SATA-IO, eSATA overview
- Electronic Design, What is the difference between mPCIe and mSATA?
Tables built from these documents and cross-checked against manufacturer datasheets. Always check the datasheet of the connector you actually use: some manufacturers number differently.
- High-speed electronic board design
- High-speed PCB design: stack-up, layers and impedance
- Differential pair impedance calculator (100 Ω SATA)
- PCI Express: generations, speeds and design
- M.2 pinout: B, M and E keys (SATA and NVMe SSDs)
- PCIe card edge connector pinout
Other pinouts
- USB-C
- USB-A, USB-B, Mini and Micro
- RJ45 Ethernet
- M12 industrial
- DB9 (DE-9)
- JTAG and SWD
- HDMI
- Raspberry Pi GPIO
- M.2 (keys M, B and E)
- SD and microSD card
- PCI Express card edge
- DDR4 DIMM and SO-DIMM
- DDR5 DIMM and SO-DIMM
- OBD2 (OBD-II, J1962)
- ESP32, S3, C3 and C6
- Bosch ECUs EDC15P+, EDC16C34, MD1CS006
- RJ11, RJ14, RJ12 (6P6C)
- VGA (DE-15) and DVI
- RS-485 (Modbus)
- Arduino Uno, Nano and Mega