Abstract: The main purpose of this article is to provide a fractional counterpart of the well-known Maz'ya inequality on the half-space, that is ∫R<sup>d<em>+∫</em>R<sup>d<em>+∣x−y∣<sup>d+sp∣u(x)−u(y)∣<sup>pdydx≥D</sup></sup></em>d,s,p∫R<sup>d<em>+xd<sup>sp∣u(x)∣<sup>pdx+C</sup></sup></em>d,s,p,τ∫R<sup>d<em>+x</sup></em>d<sup>sp−τ(xd−1<sup>2+xd<sup>2)<sup>τ/2∣u(x)∣<sup>pdx,</sup></sup></sup></sup></sup></sup></sup></sup> where D<em>d,s,p stands for the sharp constant in the fractional Hardy inequality on a half-space R<sup>d</sup></em>+. We also obtain a similar result in the setting of Sobolev--Bregman forms.