Secondary optics is a critical component determining the output efficiency and light distribution of the LED streetlight. A good roadway illumination requires the LED streetlight have a rectangular light pattern just cover the roadway and without excess spill light creeping into yards and shining into windows of neighbor residents. The adoption of the unsymmetrical freeform optics with different light distributions along X and Y directions is necessary. The whole LED streetlight can be constructed if only mounts these LED modules on the planar PCB plate. The mechanism, thermal management, and the power control electronics of the LED streetlight become very simple. In this paper, an optical designapproach of a freeform TIR (total internal reflection) lens for the LED streetlight is investigated. With these freeform lenses, high output efficiency, even light distribution, and batwing far field beam angle distribution can be achieved. =}c~BHT