diff --git a/pystencils/cpu/cpujit.py b/pystencils/cpu/cpujit.py
index 32dec37a92bc054499fa77425d0ee7f7ea113402..09128360d5c00bd97747a3039ce03572c169486a 100644
--- a/pystencils/cpu/cpujit.py
+++ b/pystencils/cpu/cpujit.py
@@ -143,7 +143,6 @@ def read_config():
             ('flags', '-Ofast -DNDEBUG -fPIC -march=native -fopenmp -std=c++11'),
             ('restrict_qualifier', '__restrict__')
         ])
-
     elif platform.system().lower() == 'windows':
         default_compiler_config = OrderedDict([
             ('os', 'windows'),
@@ -152,6 +151,13 @@ def read_config():
             ('flags', '/Ox /fp:fast /openmp /arch:avx'),
             ('restrict_qualifier', '__restrict')
         ])
+    elif platform.system().lower() == 'darwin':
+        default_compiler_config = OrderedDict([
+            ('os', 'darwin'),
+            ('command', 'clang++'),
+            ('flags', '-Ofast -DNDEBUG -fPIC -march=native -fopenmp -std=c++11'),
+            ('restrict_qualifier', '__restrict__')
+        ])
     default_cache_config = OrderedDict([
         ('object_cache', os.path.join(user_cache_dir('pystencils'), 'objectcache')),
         ('clear_cache_on_start', False),