We investigate the role of non-global logarithms in the trimmed jet mass distribution in
the process of Z+jet production in p p collisions. While some grooming techniques completely
eliminate these non-global logarithms, their presence persists with the trimming algorithm, which
we select for the current work. Our study involves an analytical fixed-order calculation up to second
order in the strong coupling and an all-orders resummation for the non-global logarithms in the
invariant mass distribution of the trimmed leading-pT jet. We also present a fully resummed result
for the distribution of the trimmed jet mass, including global logarithms, valid at NLL accuracy.

