PURPOSE: This phase I trial is studying the side effects and best dose of alefacept in treating patients with relapsed or refractory cutaneous T-cell lymphoma or peripheral T-cell non-Hodgkin's lymphoma.