PC and Mac Error CodesWindows PC and Mac errors explained

Home › Mac errors › Error -51

MacFiles and Finder

Error -51 - The link to an open file was lost

Apple name: rfNumErr

What it means

Apple's name is rfNumErr, a bad reference number. The system lost its own internal link to an open file; it tells you nothing about the file's contents.

Apple publishes only the name and a short developer label for this code. The steps are Apple's general help for this kind of problem, not a fix Apple lists for this exact number.

Where you see it

Usually in a Finder message, with the number in brackets or after the words error code, while copying or moving something.

Likely causes

Three safe steps, in order

Try them one at a time and test after each. No cleaner apps to buy, no opening the Mac, and no switching off its security.

  1. Choose Force Quit from the Apple menu, select Finder and click Relaunch. If that does not help, restart the Mac.Related Apple page: How to force an app to quit on Mac - Apple Support
  2. If the file is on an external drive, connect the drive directly to the Mac, not through a hub, and try a different port.Related Apple page: If you see USB Devices Disabled on your Mac - Apple Support
  3. Make sure the file is not open in another app, then try again with copy and paste (Command-C, then Command-V) instead of dragging.Related Apple page: If you can’t move or copy an item on Mac - Apple Support

Stop and get help when…

it returns after a restart with the same drive.

Source and date

Official Apple reference
MacErrors.h (Apple open source, CarbonHeaders)
Date checked
24 November 2026. Apple changes its pages; if a step no longer matches, trust the Apple page.

The wording above is ours, based on the Apple pages linked. Not affiliated with or endorsed by Apple.

Related Mac errors