---
title: "NUXT_E6001"
description: "Missing Unhead instance."
canonical_url: "https://nuxt.com/docs/4.x/errors/e6001"
---
# E6001

A head composable such as `useHead()` was called without an active Unhead instance. This happens when it runs outside a valid Nuxt context, for example in a detached async callback after the Nuxt instance is no longer available.

## Resolution

Call head composables synchronously inside a component `setup()`, a Nuxt plugin, or route middleware. If you need them after an `await`, capture the Nuxt context first:

```ts
const nuxtApp = useNuxtApp()
await someAsyncWork()
nuxtApp.runWithContext(() => useHead({ title: 'Late title' }))
```


## Sitemap

See the full [sitemap](https://nuxt.com/sitemap.md) for all pages.
