Inherited from Old Catalan trava, from Latin trabem (“beam, rafter”). The ending may have been changed to /-a/ due to the word's feminine gender, or a new singular trava could have been back-derived from the original plural traves (cf. xinxa < xinxes). Alternately, trava could simply be a deverbal of travar, a verb derived from the same Latin source.