Net loss for the second quarter of 2021 was $4.6 million, or $(0.37) per diluted share, as compared to net loss of $5.0 million, or $(0.43) per diluted share, for the second quarter of 2020. Adjusted Net Income (see “Use of Non-GAAP Financial Measures” below) for the second quarter of 2021 was $3.0 million, or $0.24 per diluted share, as compared to Adjusted Net Loss of $2.0 million, or $0.17 per diluted share, for the second quarter of 2020.
Adjusted EBITDA (see “Use of Non-GAAP Financial Measures” below) was $3.3 million for the second quarter of 2021.
Six Months 2021 Financial Results
Consolidated contract revenue for the six months ended July 2, 2021 was $163.2 million, a decrease of 13.9% from $189.6 million for the six months ended July 3, 2020 primarily due to decreased contract revenues from our direct install programs for small businesses in our Energy segment and the impact of having one fewer week in our first fiscal quarter of fiscal year 2021 as compared to our first fiscal quarter of fiscal year 2020.
Contract revenues for our direct install programs for small businesses decreased as a result of the business suspensions resulting from the Covid-19 pandemic and efforts to limit its spread that started in March 2020, which had a partial impact on the first half of fiscal year 2020 as compared to having a larger impact on our first half of fiscal year 2021. Through the first half of our fiscal year 2021, the most significant pandemic related impacts to the Company’s business occurred in California to our direct install business which restarted throughout the first half of fiscal 2021.
Net Revenue for the six months ended July 2, 2021 was $95.2 million, a increase of 2.6%, from $92.8 million for the six months ended July 3, 2020.
Total G&A expenses for the six months ended July 2, 2021 were $74.3 million, an increase of 2.7% from $72.3 million for the six months ended July 3, 2020, driven primarily by having restored the actions taken during our second quarter of fiscal 2020 aimed at preserving liquidity as a result of the Covid-19 pandemic, partially offset by the impact of having one fewer week in our first fiscal quarter of fiscal year 2021 as compared to our first fiscal quarter of fiscal year 2020.
We recorded an income tax benefit of $5.1 million for the six months ended July 2, 2021, compared to an income tax benefit of $1.7 million for the prior year period. The increased benefit was primarily due to an increase in various tax deductions and tax credits related to stock compensation and project-related incentives, and an additional tax benefit related to the net operating loss carryback provisions of the CARES Act.
Net loss for the six months ended July 2, 2021 was $8.4 million, or $(0.68) per diluted share, as compared to net loss of $13.1 million, or $(1.13) per diluted share, for the six months ended July 3, 2020. Adjusted Net Income (see “Use of Non-GAAP Financial Measures” below) for the six months ended July 2, 2021 was $5.3 million, or $0.43 per diluted share, as compared to Adjusted Net Income of $0.5 million, or $0.04 per diluted share, for the six months ended July 3, 2020.
Adjusted EBITDA (see “Use of Non-GAAP Financial Measures” below) was $8.0 million for the six months ended July 2, 2021, compared to $8.5 million for the six months ended July 3, 2020.
Liquidity and Capital Resources
As of July 2, 2021, we had $9.4 million of cash and cash equivalents. Cash flows used in operating activities were $0.7 million for the six months ended July 2, 2021, as compared to cash flows provided by operating activities of $29.2 million for the six months ended July 3, 2020. Cash flows used in operating activities for the six months ended July 2, 2021 resulted primarily due to the changing mix of revenues as described earlier and start-up costs associated with certain new contract awards.
As of July 2, 2021, we had $105.5 million outstanding on our credit facilities. We had no borrowings under our revolving credit facility with $50.0 million in available capacity. We also have a $50.0 million Delayed Draw Term Loan with $20.0 million available for draw upon satisfaction of certain covenants. We believe that we have adequate resources and liquidity to fund cash requirements and debt repayments for at least the next 12 months.