In stock in the USA Ships within 1 business day from Maryland
  1. Home
  2. Knowledge Base
  3. What is a facility code on a proximity card?

What is a facility code on a proximity card?

Updated

A facility code is a number programmed into a proximity card that is the same on every card at one site. The door reader sends it to the access system together with the card's own number, and the system uses the pair to decide who is at the door. In the common 26-bit format the facility code is a number from 0 to 255.

What does the facility code do?

It separates one site's cards from another's. Card numbers on their own repeat: thousands of buildings have a card numbered 1001. The facility code is the second half of the identity. A card with facility code 123 and number 1001 is a different credential from one with facility code 45 and number 1001.

Many access systems check the facility code first. If a card from another building is presented, the system can reject it on the facility code alone, without looking the card number up.

Where is the facility code?

It is stored on the chip, not printed on the card. The number printed on a card is normally the card number only. You will usually find the facility code in one of these places:

  • The label on the box your last batch of cards came in.
  • The order confirmation or packing slip from that batch.
  • Your access control software, in the cardholder record or the card format settings.
  • Your installer or integrator, who chose it when the system was set up.

More detail is in how to find your card format and facility code.

How big can a facility code be?

Format Facility code range Card number range
26-bit (H10301) 0 to 255 0 to 65,535
37-bit with facility code (H10304) 0 to 65,535 0 to 524,287
37-bit without facility code (H10302) None 0 to 34,359,738,367
EM4100 None Up to 10 digits

What happens if new cards have the wrong facility code?

Most systems will not accept them. Either the reader beeps and nothing happens, or the software logs an "invalid facility code" event. The cards are not faulty; they simply belong to a different site as far as the system is concerned. This is the most common reason a new batch of cards does not work, which is why the facility code is the first thing to confirm before ordering.

Ordering cards with your facility code

When you order programmed cards from AmerID you give us the format, the facility code and the first card number, and we program and number the batch to match. Start the configurator to set that up.

Common questions

Is the facility code the same as the card number?

No. The facility code is shared by every card at a site. The card number is different on every card. The access system reads both.

Is the facility code printed on the card?

Usually not. The number printed on a proximity card is normally the card number. The facility code is stored on the chip and listed on the box label or order paperwork.

Can two buildings use the same facility code?

Yes. In the 26-bit format there are only 256 facility codes, so they are reused all the time. It only matters if both sets of cards could end up at the same reader.

Your cart

Nothing in here yet.

Browse cards and supplies