Harriet Hoctor, 71, who danced on Broadway and in films and later became a dance teacher, died Thursday at Northern Virginia Doctors Hospital after a long illness.

She had a dance school in Boston for more than 30 years until her retirement in 1974, when she moved to Lorton to live with a nephew, Henry J. Sage.

Born in Hoosick Falls, N.Y., Miss Hoctor went to New York City at the age of 12 to study dancing. She lived with an aunt there.

Her first professional dancing experience came in 1920, when she appeared in the Flo Ziegfeld production of "Sally," which starred Marilyn Miller.

She then toured the Keith Circuit and appeared in many musical comedies before going to London in 1930 to perform there.

Miss Hoctor returned to Broadway and went to Hollywood, where she was in "The Great Zigfeld" and had a featured role in the Fred Astaire-Ginger Rogers film, "Shall We Dance?"

She went back to New York to appear in the "Zigfeld Follies of 1936." She then performed in Billy Rose's Casa Manana and Diamond Horshoe in New york from 1937 until 1945.

During that period, Miss Hoctor opened a dance school in Boston and commuted for several years between New York and Boston until she gave up performing to devote full time to teaching.

She is also survived by another nephew and two nieces.