CustomsGenius
← All Publications
News

MID Code: Manufacturer Identification Code Explained for Brokers

Published: November 5, 2026  ·  8 min read
MID Code: Manufacturer Identification Code Explained for Brokers
Photo: Niepoddawajsie.pl Luk / Pexels

Key Points

On this page

  1. At a glance
  2. What is a MID code and where does it come from?
  3. Who is responsible for the MID code and when is it transmitted?
  4. How does CBP use the MID code?
  5. Common MID code errors and what they cost
  6. How the MID code interacts with other ACE functions
  7. Frequently asked questions
  8. What importers and brokers should do
  9. Key references

The MID code (Manufacturer Identification code) is the code on an ACE entry and the CBP Form 7501 that identifies the manufacturer or shipper of each entry line, derived from the entity's country code, name and address. Customs brokers build and transmit it for importers on both the cargo release and the entry summary, and CBP relies on it from release through post-entry review. For textiles and apparel, it must identify the entity that performed the origin-conferring operations.

This entry reflects requirements as of November 2026. The links in this article go to the primary documents: the regulations, CBP form instructions and official CBP pages themselves. Read the source.

At a glance

What is a MID code and where does it come from?

A MID code is a derived identifier, not a registry number: no agency issues it, and the filer builds it from the manufacturer's own name and address each time the line is prepared. The method is covered in our entry on MID construction (CBP's rule for building a Manufacturer Identification code from the manufacturer's country code, name, street address and city; a derived code, not an assigned registry number). This article covers what the MID code is for and how it is used, not the step-by-step build.

The general requirement to report a manufacturer ID appears in the CBP Form 7501 (02/26) instructions. For textile and apparel goods, 19 CFR 102.23 goes further: the MID must be constructed from the name and address of the entity performing the origin-conferring operations determined under 19 CFR 102.21. CBP also addressed MID reporting in CBP TBT-05-031; confirm the current text of that guidance on cbp.gov before relying on it.

What a MID code is not

The MID code is not a DUNS number, not a supplier or vendor account number from the importer's ERP, not the foreign exporter ID, and not the company suffix on an AD/CVD case number. Each of those fields serves a different purpose and has its own place in the transaction.

Who is responsible for the MID code and when is it transmitted?

The customs broker, or the importer if it self-files, is responsible for building the MID code from the commercial invoice or the importer's product master for each line and transmitting it. The importer remains responsible for giving the broker accurate manufacturer names and addresses, especially where a trading company or seller appears on the invoice instead of the factory.

The MID code travels twice. It is sent on the ACE Cargo Release (the ACE transaction, successor to the paper CBP Form 3461 and the ACS Simplified Entry, through which the broker transmits the data CBP needs to decide release), and again on each line of the entry summary. Both must identify the same manufacturer for the same goods. See ACE Cargo Release: How Brokers Transmit Release Data to CBP.

How does CBP use the MID code?

CBP uses the MID code to connect each entry line to a specific foreign producer, which supports four functions named in this brief.

Because holds can key off the MID code, it affects whether the broker receives disposition codes (ACE cargo release disposition codes, the status messages CBP returns describing what happened to a release) showing a hold or a 1C release (disposition code 1C, meaning CBP has released the entry). Background is in Disposition Codes: How ACE Cargo Release Status Messages Work.

Common MID code errors and what they cost

A wrong MID code, most often naming the seller instead of the factory, a trading company or a forwarder, is a common subject of a CBP Form 28 request for information and a recurring audit finding.

Typical mistakes

Consequences include information requests, delayed release, flawed AD/CVD identification and adverse audit findings. Penalty exposure depends on the facts; confirm specifics with CBP.

How the MID code interacts with other ACE functions

The MID code sits in the importer's entry data, so several adjacent ACE functions affect where and when it is reported.

Frequently asked questions

Is a MID code required on every entry line?

Yes. The MID code is required on every entry line, and the manufacturer can differ line by line on the same invoice.

Can I use the seller or trading company as the MID code?

Generally the MID code should identify the manufacturer, not a seller, trading company or forwarder; for textiles it must be the entity performing the origin-conferring operations under 19 CFR 102.23.

Is a MID code the same as a DUNS number?

No. A MID code is derived from the manufacturer's country, name and address, while a DUNS number is a separate commercial identifier and is not a substitute.

Does the MID code affect AD/CVD entries?

Yes. CBP uses the MID code for AD/CVD company identification, so it should match the producer reflected in the case data keyed on the line; the case suffix itself is a separate field.

What importers and brokers should do

Key references


Working through tariffs on real entries? Create an account, then see plans for the full toolkit.

About the Author

Franz Brotzen, CustomsGenius CEO & Founder. Franz is a published researcher on U.S. trade policy. He has worked at think tanks in Washington DC and Tokyo, where his academic publications focussed on tariffs and legal compliance. Franz received his JD from Harvard Law School.

Request Beta Access

Get early access to CustomsGenius and start recovering IEEPA refunds faster.

Beta Pilot Ongoing