EPUB Error: Duplicate Item in OPF Manifest

OPF-067: Manifest item with href "images/cover.jpg" is already declared. Or: RSC-005: id "chapter01" is already defined in the manifest

What causes this error?

Every file in an EPUB must be declared exactly once in the OPF manifest. Each manifest item must have a unique id attribute and a unique href value — two items cannot point to the same file, and two items cannot share the same id. This error fires when the same file appears twice in the manifest under different ids, or when the same id is reused across two different manifest items. It most often occurs during manual OPF editing when an author adds a file that was already registered, or when two EPUB files are merged and their manifest sections are concatenated without checking for overlaps. It also appears in files generated by certain export tools that produce one entry for the internal package reference and a second for the file path.

How to fix it

  1. Open content.opf and search for the href value named in the error (e.g., images/cover.jpg). Locate both manifest items that reference the same file.
  2. Determine which item is the correct one — check which id is referenced in the spine, the navigation document, or anywhere else in the file. The referenced entry should stay; the unreferenced duplicate should be removed.
  3. If the duplicate items have different ids and both are referenced elsewhere, consolidate to one: update all other references to use the surviving id, then remove the duplicate manifest item.
  4. After removing the duplicate manifest entry, confirm the spine contains no orphaned <itemref> pointing to the deleted id — remove those too if present.
  5. Re-validate with EPUBCheck to confirm no duplicate href or id values remain in the manifest.

Common questions

Is a duplicate manifest item the same as a duplicate id attribute in content?

No — a duplicate manifest item means the same file is listed twice inside the OPF manifest section. A duplicate id attribute (a separate EPUBCheck error) means the same id value is used on two HTML elements inside a chapter XHTML file. The manifest item error is a package-structure problem; the id duplication error is a content-file problem.

Can two manifest items have the same id but different hrefs?

No. Both the id and the href must be unique within the manifest. Duplicate ids are an immediate XML validity failure because id attributes must be unique within any XML document. Duplicate hrefs fail the EPUB specification separately, since each physical file can only have one canonical manifest entry.

Check your EPUB before uploading

The free EPUB Validator catches structure, metadata, and navigation errors — no signup, no Java, runs in the browser.

Validate Your EPUB Free →

Building your EPUB correctly from the start prevents most of these errors before they happen. See the EPUB formatting guide for the full workflow: manuscript cleanup, TOC, front matter, EPUB 3.0 generation, and validation.

Common EPUB errors: Missing manifest resource, OPF manifest references a missing file, Duplicate ID attribute in EPUB content, Broken spine order