# Are hyphens a good idea in a domain name?

Canonical: https://www.namesilo.com/questions/buying-domains/are-hyphens-a-good-idea-in-a-domain-name

Published: 2026-11-17

Last updated: 2026-11-19

Topic: Buying a domain

A hyphen can be part of an ordinary hostname label, but it cannot be the first or last character. RFC 1035 §2.3.1 supplies that syntax, with RFC 1123 §2.1 permitting an initial digit. For the naming decision, ask someone to type the address after hearing it and compare a version without the hyphen.

Keep the punctuation easy to communicate

For an internationalized label, RFC 5891 §4.2.3.1 adds restrictions on hyphens in the third and fourth positions. Use the registry’s exact-name validation for that form rather than applying only the ordinary ASCII hostname rule.

Your next steps

Test whether listeners include the hyphen correctly

Check the label has no leading or trailing hyphen

Validate any internationalized form

Compare the shortest clear alternative

Keep the punctuation easy to communicate

For an internationalized label, RFC 5891 §4.2.3.1 adds restrictions on hyphens in the third and fourth positions. Use the registry’s exact-name validation for that form rather than applying only the ordinary ASCII hostname rule.

Verified detail: RFC 1035 §2.3.1 defines the letter/digit/hyphen hostname syntax; RFC 1123 §2.1 additionally permits an initial digit.

Your next step: Compare the shortest clear alternative.

## Sources

- [IETF RFC 1035 §2.3.1](https://www.rfc-editor.org/rfc/rfc1035#section-2.3.1)

- [IETF RFC 1123 §2.1](https://www.rfc-editor.org/rfc/rfc1123#section-2.1)

- [IETF RFC 5891 §4.2.3.1](https://www.rfc-editor.org/rfc/rfc5891#section-4.2.3.1)
