In this paper, we compute the Onsager-Machlup functional for distribution dependent SDEs driven by fractional Brownian motions with Hurst
parameter H∈(41,1). In the case 41<H<21, the norm can be either the supremum norm or Hölder norms of order β with 0<β<H−41. In the case 21<H<1, the norms can be a Hölder norm of order β with H−21<β<H−41. As an example, we compute the Onsager-Machlup functional for the stochastic pendulum equation