bar has 22 distinct synonyms spread across 10 of its 19 senses. Each sense below keeps its own list, because a synonym belongs to a meaning and not to a word: swapping one sense's substitute into another sense's sentence is how a thesaurus makes writing worse. Its one recorded opposite is unbar.
Counts are distinct word forms across every sense. A synonym that appears under three senses is counted once here and shown three times below, under each sense it belongs to.
a room or establishment where alcoholic drinks are served over a counter
“he drowned his sorrows in whiskey at the bar”
a counter where you can obtain food or drink
“he bought a hot dog and a coke at the bar”
a rigid piece of metal or wood; usually used as a fastening or obstruction or weapon
“there were bars in the windows to prevent escape”
musical notation for a repeating pattern of musical beats
“the orchestra omitted the last twelve bars of the song”
an obstruction (usually metal) placed at the top of a goal
“it was an excellent kick but the ball hit the bar”
(meteorology) a unit of pressure equal to a million dynes per square centimeter
“unfortunately some writers have used bar for one dyne per square centimeter”
the body of individuals qualified to practice law in a particular jurisdiction
“he was admitted to the bar in New Jersey”
a portable .30 caliber automatic rifle operated by gas pressure and fed by cartridges from a magazine; used by United States troops in World War I and in World War II and in the Korean War
a horizontal rod that serves as a support for gymnasts as they perform exercises
a heating element in an electric fire
“an electric fire with three bars”
(law) a railing that encloses the part of the courtroom where the judges and lawyers sit and the case is tried
“spectators were not allowed past the bar”
Synonyms, antonyms and the broader and narrower relations for bar come from Princeton University’s WordNet. Full sources and licences.