# How would I import/export Blender's preferences?

I constantly stay up to date with each new release of Blender, but this means my preferences are wiped clean each time. How do I export/import these preferences to avoid loosing my carefully crafted set up each time?

• Doesn't Blender prompt you when it first loads up if you want the preferences from the last version? May 23 '13 at 13:12
• The free Blender Sync feature lets you save your preferences in the cloud and sync them between devices or different versions. May 31 '19 at 6:23
• @MicroMachine Blender Sync is nice, but it doesn't sync the addons. I understand why it doesn't (addons can be too large to sync for a free service), but it makes it not very useful: you'll be forced to copy-paste the addons folder anyway, so you might as well copy-paste the config folder while you're at it. Apr 23 '21 at 13:48

Depending which OS you're on, navigate to:

## Linux

~/.config/blender


## Mac

/Users/username/Library/Application Support/Blender/

## Windows

%APPDATA%\Blender Foundation\Blender


Once there you should see folder(s) corresponding to the version(s) you currently have.

In my case here I have 2.66 and 2.67, just open the previous folder (2.66) since I had saved my settings there earlier and copy the config folder to the new one (2.67). What you really want however is the startup.blend and userpref.blend inside.

• As an additional info: if you want to try out a new installation from a zip file you can ensure old settings are not overwritten by creating a config/ folder inside the version-folder. You can copy old settings as above to this folder and test out, without having to worry about the global settings for that version. These are local settings. May 23 '13 at 9:57
• As general advice, this is not great. The reason Blender creates a new config directory is because they expect their config files to potentially change in different format. A user should go through the normal import process unless they have odd requirements. Dec 11 '20 at 2:43

As mentioned by CharlesL, there is also a prompt when you start your new version of Blender:

• Is there any way to access this after opening the new version multiple times? Feb 16 '15 at 16:57
• @DantheMan bpy.ops.wm.copy_prev_settings() looks like it, but I've yet to test it.
– gandalf3
Feb 16 '15 at 19:55
• blender 2.76b does not have this option
– Wang
Nov 5 '15 at 2:53
• @Wang It does for me..?
– gandalf3
Nov 5 '15 at 3:10

if you want to know where Blender is storing your user-preferences, you can run this from the Python command line (within Blender).

bpy.utils.user_resource('CONFIG')


It will print out a value like:

'/home/ideasman42/.config/blender/2.76/config/'


If you have tried out a zip version of Blender and then tried to install a newer version of Blender you won't get the 'Copy Previous Settings' option noted in gandalf3's answer. This is because when you use a zip version, even if only to try it out, it will create its own user preference folder. When you then install a newer version of Blender, it will see the user preferences folder exists and so not offer to 'Copy Previous Settings'.

To fix this you can simply navigate to where the preferences are stored (as shown in iKlsR's answer) and delete the preference folder for the version you are trying to install. For example, if I was installing Blender 2.76 and found the 'Copy Previous Settings' option didn't appear, I would delete the '2.76' folder the zipped version of Blender had previously created. When you next open Blender, it will detect there are no preferences for 2.76 and should again offer to 'Copy Previous Settings'.