NOVELTY - A device for liquefaction of a gas comprises a thermally insulated region; a gas supply system containing first and second sections; a cryogenic refrigerator (101) having warm and cold sections outside and inside of insulated regions; and dispensing line. The first section has a compressor (100) to compress gas. The cold section has a minimum temperature above a boiling point of gas at atmospheric pressure and below a boiling point of gas at high pressure.    USE - For liquefaction of gas (claimed), e.g. nitrogen, oxygen, argon, methane and other low-boiling-point substances useful for steel and fertilizer industries used by dermatologists, materials and chemists.    ADVANTAGE - The device is inexpensive; simple to operate; and shows improvement in efficiency and reliability for liquefaction of nitrogen, oxygen, natural gas and some other gases. Use of the device in office environment induces special safety and handling concerns different from industrial environment. The device is small in size and capable of producing a few liters per day that address the liquid nitrogen needs of dermatologists, materials scientists and chemists. The domestic refrigerator components, such as compressors in the fabrication of the coolers have brought the cost of cryogenic system close to that of home refrigeration systems. The temperature of the gas may be reduced by thermally coupling the gas to the counter-current heat exchanger of the refrigerator.    DETAILED DESCRIPTION - The second section has a flow restrictor (118). In flow restrictor the pressure drops from the high pressure to atmospheric pressure and a portion of the purified stream of gas evaporates, cooling a fraction of the purified stream of gas to the boiling point of the gas at atmospheric pressure. The cryogenic refrigerator is pulse-tube cryogenic refrigerator or Kleemenko-cycle cryogenic refrigerator. The device further comprises a counter-current heat exchanger, a pressure swing absorber, membrane separator, and hygrometer.    DESCRIPTION OF DRAWING(S) - The figure shows a schematic of the device for the liquefaction of nitrogen.    compressor (100)    cryogenic refrigerator (101)    capillary tube (104)    filter-driver (110)    flow restrictor (118)    control valves. (138, 140, 142)