A universal rail mounting bracket for attachment of a handrail or fence rail to a support structure. A rail end cover may be inserted over the rail end after the rail has been mounted to the support structure with the bracket. A rail end cover is provided to cover any unsightly gaps or uneven cuts which may have occurred during manufacture or installation of the rail.