The demand for fiber Bragg gratings (FBG) for use in optical transmission devices has grown exponentially in the telecommunication industry. A stable temperature compensation mechanism is essential to the successful use of FBG-based devices. In this paper, a tubular temperature-compensating package with a tunable component is described. Such a mechanism serves for posttuning the fixture in order to obtain a designed central wavelength. With the aid of the developed experimental procedure, this compact and easily manufactured package can achieve a temperature coefficient of 8.3X10-4 nm/°C in the temperature range from ?40 to 80°C. The same package can also be used for multi-FBG applications.