Many proteins contribute to the contractile properties of muscles, most notably myosin thick filaments, which are anchored at the M-line, and actin thin filaments, which are anchored at the Z-discs that border each sarcomere. In humans, mutations in the actin-binding protein Filamin-C result in myopathies, but the underlying molecular function is not well understood. Here we show using Drosophila indirect flight muscle that the filamin ortholog Cheerio in conjunction with the giant elastic protein titin plays a crucial role in keeping thin filaments stably anchored at the Z-disc. We identify the filamin domains required for interaction with the titin ortholog Sallimus, and we demonstrate a genetic interaction of filamin with titin and actin. Filamin mutants disrupting the actin- or the titin-binding domain display distinct phenotypes, with Z-discs breaking up in parallel or perpendicularly to the myofibril, respectively. Thus, Z-discs require filamin to withstand the strong contractile forces acting on them.