diff --git a/doc/Makefile b/doc/Makefile
index 3260e5f0c971bbacb31efb4c62226f119767b8c9..e4307a954afd8bb0263399d24fea827ce7d58f8a 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -7,6 +7,7 @@ $(obj)/%.8: $(src)/%.8.scd
 docs: $(obj)/apk.8 \
 	$(obj)/apk-add.8 \
 	$(obj)/apk-del.8 \
+	$(obj)/apk-fix.8 \
 	$(obj)/apk-repositories.5 \
 	$(obj)/apk-world.5
 targets += docs
diff --git a/doc/apk-fix.8.scd b/doc/apk-fix.8.scd
new file mode 100644
index 0000000000000000000000000000000000000000..f1efce8e62660bfe5ae7c11562483109c55a966a
--- /dev/null
+++ b/doc/apk-fix.8.scd
@@ -0,0 +1,64 @@
+apk-fix(8)
+
+# NAME
+
+apk fix - repair packages or system
+
+# SYNOPSIS
+
+*apk fix* [<_options_>...] [_packages_...]
+
+# DESCRIPTION
+
+*apk fix* applies repair strategies to correct errors in the installation of
+the specified packages, or all installed packages if none are specified.
+
+# OPTIONS
+
+## COMMIT OPTIONS
+
+*apk fix* commits the database, and supports the same options as other commit
+operations.
+
+*-s, --simulate*
+	Simulate the requested operation without making any changes.
+
+*--clean-protected*
+	Do not create .apk-new files in configuration directories.
+
+*--overlay-from-stdin*
+	Read list of overlay files from stdin.
+
+*--no-scripts*
+	Do not execute any scripts.
+
+*--no-commit-hooks*
+	Skip pre/post hook scripts (but not other scripts).
+
+*--initramfs-diskless-boot*
+	Enables options for diskless initramfs boot (e.g. skip hooks).
+
+## FIX OPTIONS
+
+The following options affect the *fix* operation.
+
+*-d, --depends*
+	Also fix dependencies of specified packages.
+
+*-r, --reinstall*
+	Reinstall packages (default).
+
+*-u, --upgrade*
+	When fixing packages which are already installed, upgrade them rather
+	than considering the requirement fulfilled by the current installation.
+
+*-x, --xattr*
+	Fix packages with broken xattrs.
+
+*--directory-permissions*
+	Reset all directory permissions.
+
+# AUTHORS
+
+Natanael Copa <ncopa@alpinelinux.org>++
+Timo Teräs <_timo.teras@iki.fi_>