We study existence, uniqueness, and regularity properties of the Dirichlet problem related to fractional Dirichlet energy minimizers in a complete doubling metric measure space (X, d X , μ X ) satisfying a 2-Poincaré inequality. Given a bounded domain ⊂ X with μ X (X \ ) > 0, and a function f in the Besov class B θ 2,2 (X) ∩ L 2 (X), we study the problem of finding a functionWe show that such a solution always exists and that this solution is unique. We also show that the solution is locally Hölder continuous on , and satisfies a non-local maximum and strong maximum principle. Part of the results in this paper extends the work of Caffarelli and Silvestre in the Euclidean setting and Franchi and Ferrari in Carnot groups.