1


                                  EXHIBIT 5

              OPINION OF MCNAIR LAW FIRM, P.A. REGARDING LEGALITY


                                 April 21, 1997

Resource Bancshares Mortgage Group, Inc.
7909 Parklane Road
Columbia, SC 29223

     Re: Registration Statement on Form S-8

Gentlemen:

     We have acted as counsel to Resource Bancshares Mortgage Group, Inc. (the
"Company") in the preparation of a registration statement on Form S-8 (the
"Registration Statement") filed by the Company with the Securities and Exchange
Commission covering a total of 1,556,384 shares of $.01 par value common stock
(the "Common Stock") which may be issued pursuant to the terms of the Company's
Omnibus Stock Award Plan, Formula Stock Option Plan and Non-Qualified Stock
Option Plan (collectively, the "Plans").

     In so acting, we have examined and relied upon such records, documents and
other instruments as in our judgment are necessary or appropriate in order to
express the opinion hereinafter set forth and have assumed the genuineness of
all signatures, the authenticity of all documents submitted to us as originals
and the conformity to original documents of all documents submitted to us as
certified or photostatic copies.

     Based on the foregoing, we are of the opinion that the Common Stock, when
issued and delivered against payment in full in accordance with the terms of the
Plans will be duly and validly issued, fully paid and nonassessable.

     We hereby consent to the reference to our firm in the Registration
Statement under the heading "Interests of Named Experts and Counsel" and to the
use of this opinion as an exhibit to the Registration Statement. By giving this
consent, we do not thereby admit that we come within the category of persons
whose consent is required under Section 7 of the Securities Act of 1933, as
amended, or the general rules and regulations promulgated thereunder.

                                Very truly yours,

                                McNAIR LAW FIRM, P.A.


                            By: /s/ John W. Currie
                                ---------------------------------
                                A Member of the Firm