WASHINGTON—A congressional ethics panel is investigating allegations that Florida Democratic Rep. Alcee Hastings sexually harassed a member of his staff, according to people familiar with the matter.

The investigation of Mr. Hastings is being conducted by the Office of Congressional Ethics, the House's independent ethics investigative arm, and it is at a preliminary stage.

It...