Star Trek actor Jonathan Frakes has revealed he was secretly treated for bladder cancer after spotting pink urine at a fan convention in Arizona.

The 74-year-old, best known as Commander William Riker in Star Trek: The Next Generation, opened up on the 21 November episode of Dropping Names With Brent and Jonny, the podcast he hosts with former co-star Brent Spiner.

He noticed the problem while getting ready for breakfast at his hotel in Phoenix, according to Reader's Digest. 'My pee was pink,' he said, per LADbible. He wondered about beetroot, but Spiner noted he hadn't eaten any in six years.

Surgeon Says Painless Blood in Urine Is Always a Red Flag

Spiner told him to call his doctor, Entertainment Weekly reported. Within days, a cystoscopy, in which a small camera is passed through the urethra, found tumours in his bladder.

His surgeon, urologic oncologist Dr Ram Narayanan, joined the episode and called the symptom painless gross haematuria, or blood in urine visible to the naked eye.

'When it's painless blood that you see with your eyes, that's always a red flag,' Narayanan said, per the Los Angeles Times.

How Frakes Avoided Losing His Bladder

Three days later, the tumours were scraped away. 'I think we got it all,' Narayanan told him, according to EW. Frakes then had six weekly rounds of chemotherapy for high-grade non-muscle-invasive bladder cancer, which had not grown into the bladder's muscle wall.

Had it reached the muscle, he would usually have needed his bladder removed and a new one built from intestine, Parade reported. Frakes said that scared him most.

Narayanan also spotted an enlarged prostate. An MRI found no prostate cancer, and Frakes later had surgery to remove 135 grams of prostate tissue, EW reported.

Why Frakes Kept His Cancer Secret Until Now

Frakes had kept the diagnosis within his family until his doctor encouraged him to share it to help others. He credited his wife, actress Genie Francis, too. 'It's a little dramatic to say he saved my life, because my wife really did that,' he said of his surgeon, per Parade.

Cancer is personal for Frakes, who lost his brother Daniel to pancreatic cancer in 1997 and campaigns with the Pancreatic Cancer Action Network.

Spiner urged listeners to 'check it out immediately,' adding: 'Don't be shy. Don't be afraid,' Female First reported.

When Pink or Red Urine Needs Urgent Checks

Blood in the urine is the main symptom of bladder cancer, the NHS says. It may look bright pink, red or dark brown, and anyone who notices it should seek an urgent GP appointment or contact NHS 111, even if it happened once.

NICE guidance says adults aged 45 and over with unexplained visible blood in their urine should be referred on a suspected cancer pathway.

Early bladder cancer usually causes bleeding with little or no pain, and the blood may come and go, the American Cancer Society says. Infections are more common causes, but it should still be checked.

For early bladder cancer, chemotherapy or the immunotherapy drug BCG can be put directly into the bladder after surgery, Cancer Research UK says.