Full-time students are usually not eligible for Housing Benefit, although there are limited exceptions. These can include some lone parents, students responsible for a child, students receiving certain qualifying benefits, and students who have reached State Pension age. Your course, household circumstances, income and accommodation type can affect the decision, and Housing Benefit rules differ from Universal Credit rules. Check the official GOV.UK guidance and ask your local council to assess your circumstances.