The Securities and Exchange Commission is scrutinizing U.S. banks that have restructured troubled loans in order to make them appear healthier than they really are, according to people familiar with the situation.

Officials at the SEC are seeking information from an unknown number of regional and community banks with large concentrations of commercial real-estate loans, these people said.

The...