Patrick Stewart and Jonathan Frakes hold a distinction no other “Star Trek: The Next Generation” regular can claim: They are the only two cast members to appear in all 176 episodes of the series.

Stewart’s Captain Jean-Luc Picard and Frakes’ William Riker remained a constant presence from the premiere on September 28, 1987, through the finale on May 23, 1994. It is a fitting record for the actors playing the Enterprise’s captain and first officer.

The statistic becomes more complicated when credits are taken into account. Six performers are credited in every episode: Stewart, Frakes, Brent Spiner, LeVar Burton, Marina Sirtis and Michael Dorn. The total can also be listed as 178 when the double-length series premiere and Season 4 finale are counted as two episodes apiece.

But a regular cast credit does not necessarily mean that the performer is actually present in that installment. Some episodes use stock footage, holograms or voice-only contributions. Once those appearances are separated from genuine episode participation, Stewart and Frakes are the only actors with a perfect record.

The absences behind the numbers

Each of the other four regularly credited stars missed at least one episode outright.

Spiner’s Data is absent from the Season 4 installment “Family.” Sirtis, who plays Deanna Troi, does not appear in 10 episodes, while Burton’s Geordi La Forge is missing from six. Dorn’s Worf has the closest record among that group, sitting out only two episodes during Season 1.

Those two early absences keep Dorn from sharing Stewart and Frakes’ “Next Generation” milestone. Across the wider “Star Trek” franchise, however, Dorn holds an even bigger episode record.

Michael Dorn leads the wider franchise

No actor has appeared in more “Star Trek” episodes across the franchise than Dorn. Beyond his near-complete run on “The Next Generation,” Worf features in 98 episodes of “Star Trek: Deep Space Nine” after Dorn joined that show’s cast in Season 4.

Dorn later appeared in seven episodes of “Star Trek: Picard,” bringing his overall acting total to 279 franchise episodes.

His work behind the camera adds another layer to that record. Dorn directed four “Star Trek” episodes: three installments of “Deep Space Nine” and one episode of “Star Trek: Enterprise.” Worf did not appear in “Enterprise.”

Colm Meaney ranks second in overall “Star Trek” episode appearances. His character, Miles O’Brien, debuted as a minor figure on “The Next Generation” and appeared in 52 episodes before moving to “Deep Space Nine.” O’Brien became a main character there and was featured in most of the show’s 173 episodes.

Stewart sits in third place on the broader franchise list. Along with appearing throughout all of “The Next Generation,” he featured in all 30 episodes of “Picard” and one episode of “Deep Space Nine.”

A voice-only complication

As with the “Next Generation” attendance record, the wider franchise ranking depends in part on how an appearance is defined.

Majel Barrett could be considered close to the top when voice-only work is included. Barrett, who was also the wife of “Star Trek” creator Gene Roddenberry, appeared in “TOS” and “The Animated Series” as Christine Chapel. She also played Lwaxana Troi in “The Next Generation” and “Deep Space Nine.”

In addition to those character roles, Barrett supplied the voice of the Federation computer across most of the franchise, resulting in more than 200 voice-only appearances.

That distinction illustrates why credits and appearance totals can produce different answers. For “The Next Generation” itself, however, the result is clear: Picard and Riker were the only two regular characters whose actors never missed an episode.