# Symbolic links and junctions

You can use symbolic links (symlinks) and junctions in your vault to store files outside the vault and system folder.

Below are some limitations or issues we are aware of that you may want to keep in mind:

  • Symlink loops are disallowed, to prevent crashing Obsidian due to an infinite loop.
  • Symlink targets must be fully disjoint from the vault root or any other symlink targets. Disjoint means one folder doesn't contain another, or vice versa. Obsidian ignores any symlink to a parent folder of the vault, or from one folder in the vault to another folder in the same vault. It is a safeguard to ensure you don't end up with duplicated files in your vault, which could cause links to become ambiguous.
  • Symlinks may not play well with Obsidian sync, or any other kind of sync. If the target of a symlink is itself a folder that's synced by a different Obsidian vault, you could (potentially) end up with sync conflicts or data loss. Some sync tools, such as Git, don't follow symlinks, but rather sync the path the symlink points to, which may produce undesirable results if you share your vault with other people that way.
  • Obsidian's file manager can't move files across device boundaries, so if you symlink to a folder on a different drive from your vault, you won't be able to drag files between that folder and other folders using Obsidian's file explorer. (You'll need to use your OS's explorer for such moves, and Obsidian will see the move as a deletion and the creation of a new file. It will also not update any links that depended on the path of that file.)
  • File symlinks (as opposed to folder symlinks) may work, but aren't officially supported at this time. Changes performed outside of Obsidian aren't watched for, so if you change the file directly, Obsidian won't detect the change, update search indexes, etc.
  • Symlinking things under the .obsidian/ folder in order to share them between vaults has a high chance of corrupting your settings, unless you really know what you're doing. If you decide to go this way, at least have backups.