# HS code for computer keyboards

> Computer keyboards are usually classified under HS code 8471.60 when it is an input unit of a computer. It sits in heading 84.71, “Automatic data processing machines and units thereof; magnetic or optical readers, machines for transcribing data onto data media in coded form and machines for processing such data, not elsewhere specified or included”.

Source: https://border.bot/hs-codes/for/computer-keyboards
Last updated: 11 October 2026

## Key facts

- Most likely code: [8471.60](https://border.bot/hs-codes/847160)
- Chapter: [84: Nuclear reactors, boilers, machinery and mechanical appliances; parts thereof](https://border.bot/hs-codes/84)
- Candidate codes: 1
- HS edition: HS2022

## Summary

Computer keyboards are usually classified under HS code 8471.60 when it is an input unit of a computer. It sits in heading 84.71, “Automatic data processing machines and units thereof; magnetic or optical readers, machines for transcribing data onto data media in coded form and machines for processing such data, not elsewhere specified or included”.

## How to choose the right code

Use 8471.60 when it is an input unit of a computer.

## Codes for computer keyboards

Each code is listed with its legal text from the HS2022 Harmonized System release, quoted as published, and the condition under which it applies to computer keyboards.

### [8471.60](https://border.bot/hs-codes/847160) (most likely)

Legal text: “Input or output units, whether or not containing storage units in the same housing”

Heading 84.71: “Automatic data processing machines and units thereof; magnetic or optical readers, machines for transcribing data onto data media in coded form and machines for processing such data, not elsewhere specified or included”

Applies when it is an input unit of a computer.


## Similar products

Products in the same category as computer keyboards, or classified under the same headings.

- [Computer mice](https://border.bot/hs-codes/for/computer-mice): 8471.60
- [Laptops](https://border.bot/hs-codes/for/laptops): 8471.30
- [Tablet computers](https://border.bot/hs-codes/for/tablets): 8471.30
- [Computer monitors](https://border.bot/hs-codes/for/computer-monitors): 8528.52
- [Digital cameras](https://border.bot/hs-codes/for/digital-cameras): 8525.89
- [Headphones](https://border.bot/hs-codes/for/headphones): 8518.30
- [Memory cards](https://border.bot/hs-codes/for/memory-cards): 8523.51
- [Phone chargers](https://border.bot/hs-codes/for/phone-chargers): 8504.40
- [Smartphones](https://border.bot/hs-codes/for/smartphones): 8517.13
- [Televisions](https://border.bot/hs-codes/for/televisions): 8528.72
- [USB cables](https://border.bot/hs-codes/for/usb-cables): 8544.42
- [USB flash drives](https://border.bot/hs-codes/for/usb-flash-drives): 8523.51

## Duty rates by country

National tariff lines for computer keyboards are live for the United States. Each page lists the lines under the codes above, with their duty rates where they are live.

- [United States](https://border.bot/countries/united-states/hs-codes/for/computer-keyboards): 7 national lines, duty rates live

## Check your exact product

Describe your product, or paste its page, and the classifier suggests the code with its reasons.

- [Classify your exact product](https://border.bot/tools/hs-code-classifier?product=computer+keyboard)

## Classification depends on the exact product

The right code depends on what the product is made of, how it is made and what it is for, so two products sold as computer keyboards can fall under different codes.

Guidance from published tariff data, not a binding ruling. For a decision customs must follow, apply to the destination’s customs authority for a binding tariff ruling.

## Frequently asked questions

### What is the HS code for computer keyboards?

Computer keyboards are usually classified under HS code 8471.60 when it is an input unit of a computer. It sits in heading 84.71, “Automatic data processing machines and units thereof; magnetic or optical readers, machines for transcribing data onto data media in coded form and machines for processing such data, not elsewhere specified or included”.

## Sources and updates

The legal texts are from the HS2022 Harmonized System release, live on border.bot since 11 October 2026.

The conditions and questions on this page were written for computer keyboards by border.bot and checked against those legal texts; the page changes when a new release goes live or the topic is reviewed again.

Machine-readable: https://border.bot/hs-codes/for/computer-keyboards.json
