This paper proposes an energy storage and attitude control system for micro-electromechanical systems in spacecraft using a high-temperature superconductor-magnet bearing system. This system consists of an HTS-magnet flywheel energy storage system and a brushless. motor/generator. The HTS flywheel, which permits high angular momentum storage since its drag torque is nearly velocity-independent and extremely small, facilitates high-speed rotation. It can also perform the dual function of a power/attitude control system using flywheel elements for, both power storage and attitude control. This dual function capability further reduces the mass of the spacecraft. The HTS flywheel has an angular momentum capacity of 0.083 J.s and stores 2.32 kJ at 530 krpm. Its energy storage capacity is approximately 45 Wh/kg with an energy density of around 370 kJ/L. The system is ideally suited for low earth orbit energy storage, power generation and attitude control of spacecraft such as nano satellites.