Nobuo Fujita, a Japanese pilot who flew bombing runs over Oregon in 1942, apparently the only time that an enemy aircraft has ever bombed the American mainland, died on Tuesday at a hospital near Tokyo. He was 85.

The cause was lung cancer, family members said.

Mr. Fujita, whose incendiary bombs set off forest fires in Oregon's coastal range, played the key role in a quixotic plan by Japanese military commanders to put pressure on America's home turf in World War II. The idea was that the United States Navy would then be obliged to retreat from the Pacific to protect the West Coast.

A quiet, humble man who in his later years was deeply ashamed of his air raids on the United States, Mr. Fujita eventually forged a remarkable bond of friendship with the people of Brookings, the small logging town whose surrounding forests he had bombed. Last week, as he lay dying, the town council of Brookings hailed Mr. Fujita an ''ambassador of good will'' and proclaimed him an ''honorary citizen'' of the town.

On his first postwar visit to Brookings in 1962, Mr. Fujita carried with him a 400-year-old samurai sword that had been handed down in his family from generation to generation. He presented the sword, which he had carried with him throughout the war, to Brookings as a symbol of his regret, and it now hangs in the local library.