diff --git a/mu_map/data/prepare.py b/mu_map/data/prepare.py
index a5b1b87cd73152ab79f449acb09e2aab0f8ce6fe..702769e2fc4a6518584cb9a7619d585192898ea0 100644
--- a/mu_map/data/prepare.py
+++ b/mu_map/data/prepare.py
@@ -19,6 +19,7 @@ headers = argparse.Namespace()
 headers.id = "id"
 headers.patient_id = "patient_id"
 headers.age = "age"
+headers.sex = "sex"
 headers.weight = "weight"
 headers.size = "size"
 headers.protocol = "protocol"
@@ -479,6 +480,7 @@ if __name__ == "__main__":
                     headers.id: _id,
                     headers.patient_id: projection.PatientID,
                     headers.age: parse_age(projection.PatientAge),
+                    headers.sex: projection.PatientSex,
                     headers.weight: float(projection.PatientWeight),
                     headers.size: float(projection.PatientSize),
                     headers.protocol: protocol,