How to Add Custom Fonts to Your Expo App with expo-font

DavidDavid October 14, 2026 8 min read

How to add custom fonts to your Expo app, in short

You add a custom font to an Expo app in three steps. Put the font file (OTF or TTF) in your project, usually in assets/fonts. Install expo-font with npx expo install expo-font. Then either embed the font at build time with the expo-font config plugin in app.json, or load it at runtime with the useFonts hook. After that, any Text component can use it through the fontFamily style prop. Expo also has ready-made packages for every Google Font under @expo-google-fonts, so you do not have to download files by hand.

The code is small. What trips people up is choosing the wrong loading method, a flash of the system font on launch, and a font family name that works on Android but not on iOS. This guide covers all three.

Config plugin vs useFonts: which one to use

Both methods end in the same place: a fontFamily you can use in your styles. They differ in when the font gets loaded.

expo-font config plugin vs useFonts

Config plugin (embed)useFonts (runtime)
When the font loadsBundled into the native app, ready at launchLoaded asynchronously when the app starts
Loading codeNoneuseFonts in your root layout, plus splash screen handling
Works in Expo GoNo, needs a development buildYes
Works on webNo, config plugins are native onlyYes
Expo's recommendationRecommended for Android and iOSUse when you cannot use the config plugin

My recommendation: if your app ships to the App Store and you already use a development build, embed your fonts with the config plugin. There is no loading state to manage, so no first-launch flicker and no blank screen if loading fails. Use useFonts while you are still prototyping in Expo Go, or if your app also runs on the web. If you are not sure which build you are on, read [Expo Go vs a development build](/blog/expo-go-vs-development-build) first.

Step 1: Get the font file and put it in assets/fonts

  • Use OTF or TTF. Expo officially supports both on Android, iOS and web. Expo's guide says to prefer OTF when you have both, because the files are smaller.
  • Other formats need extra setup. WOFF and WOFF2 work on iOS but not Android, and a format a platform does not support can crash the app, according to Expo's guide.
  • Copy the files into assets/fonts. That folder is a convention, not a rule, but it is where Expo's examples and most tutorials look.
  • Only include the weights you actually use. Every file you embed ships inside your app download. If size matters to you, see [how to reduce your Expo app size](/blog/how-to-reduce-your-expo-app-size).
  • Check the font's license allows embedding in an app. Buying a desktop license for a font does not always cover shipping it inside a mobile app.

Step 2: Embed the font with the expo-font config plugin

  1. Run: npx expo install expo-font.
  2. Add the plugin to app.json under plugins: ["expo-font", { "fonts": ["./assets/fonts/Inter-Bold.otf"] }]. Paths are relative to the project root.
  3. Create a new development build and install it. Config plugin changes are baked into the native app, so a reload is not enough.
  4. Use it: <Text style={{ fontFamily: 'Inter-Bold' }}>Hello</Text>.

For a family with several weights, the plugin also accepts an object syntax. Under android.fonts you give a fontFamily name and a list of fontDefinitions, each with a path, a weight and an optional style. List the same files under ios.fonts. You then pick a face with fontFamily: 'Inter' plus fontWeight: '700' and fontStyle: 'italic', instead of a different family name per weight. Expo's Fonts guide has the full example.

Step 3: Get the font family name right on iOS and Android

This is where most font bugs come from. The two platforms find the name in different places:

  • Android uses the file name, without the extension. Inter-Bold.otf becomes Inter-Bold.
  • iOS reads the family name from inside the font file, whatever the file is called.
  • So if the file is called inter_bold_final.otf, Android wants inter_bold_final and iOS wants something else, and the font silently falls back to the system font on one platform.

The fix Expo recommends: rename the file to its PostScript name, which is the identifier stored inside the font (Inter Black's is Inter-Black). You can see it in the Font Book app on a Mac. Then the same fontFamily works on both. If you use the object syntax, use the font's family name as shown in Font Book. When you are not sure what name a platform registered, call getLoadedFonts() from expo-font, which returns every font family name available, including embedded ones.

Or load fonts at runtime with useFonts

If you need Expo Go or web, use the useFonts hook in your top-level component, which with Expo Router is the root layout (app/_layout.tsx). Install expo-font and expo-splash-screen, then follow Expo's pattern:

  1. Call SplashScreen.preventAutoHideAsync() at the top of the file, outside the component.
  2. Inside the component: const [loaded, error] = useFonts({ 'Inter-Black': require('../assets/fonts/Inter-Black.otf') }). Adjust the path to wherever your fonts folder sits relative to the layout file.
  3. In a useEffect, call SplashScreen.hideAsync() once loaded or error is true.
  4. Return null while !loaded && !error, so nothing renders in the wrong font.

The key in the object you pass to useFonts becomes the fontFamily name, on both platforms, which removes the naming problem from Step 3. Notice the pattern also continues when error is set: if a font fails to load, the app still opens in the system font instead of hanging on the splash screen. The splash screen setup itself is covered in [how to add a splash screen to your Expo app](/blog/how-to-add-a-splash-screen-to-your-expo-app).

Using Google Fonts in Expo

Every Google Font has an Expo package. For Inter, run npx expo install expo-font @expo-google-fonts/inter. Then pick one of the same two methods:

  • Runtime: import { useFonts, Inter_900Black } from '@expo-google-fonts/inter', call useFonts({ Inter_900Black }), and use fontFamily: 'Inter_900Black'. The package imports the font file for you.
  • Embedded: point the config plugin at the file inside node_modules, for example node_modules/@expo-google-fonts/inter/900Black/Inter_900Black.ttf. Here the naming rule from Step 3 applies again: Expo's guide shows Inter_900Black on Android and the PostScript name Inter-Black on iOS, chosen with Platform.select.

If you want to avoid the Platform.select step, you can copy the TTF out of node_modules into assets/fonts, rename it to its PostScript name, and embed it like any local font.

Mistakes that make custom fonts disappear

  • Adding a font to the config plugin and testing in Expo Go. Embedded fonts need a development build.
  • Changing app.json and only reloading. Config plugin changes need a rebuild.
  • A file name that does not match the font's internal name, so iOS or Android falls back to the system font.
  • Setting fontWeight: 'bold' on a single-weight font and expecting a real bold. Load the bold file, or use a family with weight definitions.
  • Rendering the app before useFonts finishes, which shows a flash of the system font.
  • Icons from @expo/vector-icons showing up invisible on first launch. Expo's guide suggests preloading the icon font with useFonts during the splash screen, for example by passing Ionicons.font.
  • Loading fonts from a URL in production. Expo's guide calls local assets the safest option, since they ship inside the app download and are available right away.

Have Claude Code set it up for you

Open your project in the Claude Code desktop app, drop your font files into assets/fonts, and give it the full picture instead of just "add a font". A prompt that works:

Then add a line to your [CLAUDE.md](/blog/claude-md-for-expo-apps) like "fonts are embedded with the expo-font config plugin; use the styles in typography.ts, never a raw fontFamily" so later sessions stay consistent. Rebuild, and check every screen in both light and [dark mode](/blog/how-to-add-dark-mode-to-your-expo-app) on a real device.

The short version

To add custom fonts to your Expo app: put OTF or TTF files in assets/fonts, install expo-font, and embed them with the config plugin, then rebuild your development build. Name the files after their PostScript names so the same fontFamily works on iOS and Android. If you are on Expo Go or need web, load them with useFonts and keep the splash screen up until they are ready. For Google Fonts, install the matching @expo-google-fonts package and use either method.

If you are building your first iOS app with Claude Code and Expo and want a second pair of eyes on it before App Review, bring it to App Store Launch Club. Members share their builds for feedback, and the [curriculum](/curriculum) covers the full path from first build to first users. Join at applaunchclub.co for $9 a month.

Free app-building tips, straight to your inbox

Short, practical drops on app ideas, validating fast, store listings, and passing app review. No spam, unsubscribe anytime.

Frequently asked questions

Do custom fonts work in Expo Go?

Fonts loaded at runtime with useFonts work in Expo Go. Fonts embedded with the expo-font config plugin do not, because the plugin changes the native app and needs a development build.

Why is my custom font not showing in Expo?

Usually the fontFamily name does not match. Android uses the file name, iOS reads the name from inside the font file. Rename the file to its PostScript name or call getLoadedFonts() to see the registered names. Also check you rebuilt after changing the config plugin.

Should I use the expo-font config plugin or useFonts?

Expo recommends the config plugin for Android and iOS: the font is bundled and ready at launch with no loading code. Use useFonts if you are in Expo Go or your app also runs on the web.

Which font formats does Expo support?

Expo officially supports OTF and TTF on Android, iOS and web. Expo's guide suggests OTF when you have both. WOFF and WOFF2 work on iOS and web but not Android.

How do I use Google Fonts in Expo?

Install the font's package, for example npx expo install expo-font @expo-google-fonts/inter. Load it with the package's useFonts hook, or embed the TTF from node_modules with the config plugin.

How do I stop the system font flashing before my font loads?

Embed the font with the config plugin so there is nothing to load. If you use useFonts, call SplashScreen.preventAutoHideAsync() and only hide the splash screen once the font has loaded or failed.

How do I use bold and italic versions of a custom font?

Either give each file its own family name (Inter-Bold, Inter-Italic) or use the config plugin's object syntax to group them under one fontFamily with weight and style values, then select them with fontWeight and fontStyle.

Last reviewed by David on October 14, 2026

David

Written by

David

Founder and app builder

Keep reading

ExpoClaude Code

How to Add Notification Actions to Your Expo App

To add notification actions to an Expo app, register a category with Notifications.setNotificationCategoryAsync, give it action buttons (and optionally a text reply), set categoryIdentifier on the notification, then read response.actionIdentifier in a response listener. Here is every action option, how to handle taps when the app was closed, the Android and iOS differences, and a Claude Code prompt that wires it all up.

David 8 min
Read article
ExpoClaude Code

How to Schedule Local Notifications in Your Expo App

To schedule local notifications in an Expo app, install expo-notifications, set a notification handler, ask for permission, create an Android channel, then call scheduleNotificationAsync with your content and a trigger like DAILY, WEEKLY or DATE. Here is every trigger type, how to cancel and list what is scheduled, why Android reminders arrive late, and a Claude Code prompt that builds the whole reminder flow.

David 8 min
Read article

Ready to build it yourself?

Join App Store Launch Club, the #1 community for building and launching apps, for $9/month.

← Back to the blog