The invention relates to the technical field of furniture, and discloses a drawer which comprises a drawer body and a sliding rail assembly, the drawer body is connected with an upper rail of the sliding rail assembly through a first limiting piece, a second limiting piece and a lock catch, and when the lock catch rotates to the position below the upper rail, the drawer body and the upper rail arelocked by the lock catch and cannot be detached. When the lock catch rotates to be not located below the upper rail, the drawer body and the upper rail are not locked by the lock catch and can be separated. Based on the structure, the drawer body and the sliding rail assembly are firmly, safely and reliably connected, meanwhile, disassembly and assembly are convenient, and production, overhaul and maintenance are facilitated. In addition, the invention further discloses a cabinet, and due to the fact that the drawer is adopted, the cabinet has the advantages of being convenient to produce andoverhaul, large in storage capacity, low in noise, good in quality and the like.