iOS Fonts › Monospace › Courier

Courier on iOS

The original typewriter monospace. Every character occupies the same width, which keeps columns of code and data aligned.

The quick brown fox jumps over the lazy dog
CourierRegular
The quick brown fox jumps over the lazy dog
Courier-BoldBold
The quick brown fox jumps over the lazy dog
Courier-BoldObliqueBold Oblique
The quick brown fox jumps over the lazy dog
Courier-ObliqueOblique

Courier at a glance

CategoryMonospace
DesignerHoward Kettler (IBM, 1955)
Styles on iOS4 (Regular, Bold, Bold Oblique, Oblique)
First on iPhoneiOS 3.0
First on iPadiOS 4.3
Family nameCourier
Default PostScript nameCourier

PostScript names for every Courier style

iOS looks fonts up by their PostScript name, not the friendly family name. Use the names below exactly as written — they are case-sensitive.

StylePostScript nameiPhoneiPad
RegularCourier3.04.3
BoldCourier-Bold3.04.3
Bold ObliqueCourier-BoldOblique3.04.3
ObliqueCourier-Oblique3.04.3

How to use Courier in code

SwiftUI

Swift
Text("Hello, world")
    .font(.custom("Courier", size: 17, relativeTo: .body))

UIKit

Swift
let base = UIFont(name: "Courier", size: 17)!
label.font = UIFontMetrics(forTextStyle: .body).scaledFont(for: base)
label.adjustsFontForContentSizeCategory = true

Objective-C

Obj-C
label.font = [UIFont fontWithName:@"Courier" size:17];

CSS for Safari on iPhone and iPad

CSS
.headline {
  font-family: "Courier", ui-monospace, Menlo, Consolas, monospace;
  font-weight: 700;
}

Wrapping the font in UIFontMetrics, or passing relativeTo: in SwiftUI, lets Courier grow and shrink with the user’s Dynamic Type setting. Read the custom fonts guide for the full checklist, or the San Francisco guide if you want Apple’s system font instead.

Frequently asked questions

What is the PostScript name of Courier on iOS?

Use “Courier” with UIFont(name:size:) or SwiftUI’s Font.custom(_:size:). The bold style is “Courier-Bold”. The family has 4 styles: Regular, Bold, Bold Oblique, Oblique.

Which iOS version added Courier?

According to the iOS Fonts availability data, Courier first shipped on iPhone in iOS 3.0 and on iPad in iOS 4.3.

Can I use Courier on a website?

Safari on iPhone and iPad can render installed system fonts, so a CSS stack such as font-family: "Courier", ui-monospace, Menlo, Consolas, monospace; will use Courier on Apple devices and fall back elsewhere. Embedding the font files on a server requires a separate web licence from the foundry.